summaryrefslogtreecommitdiff
path: root/pfinet
diff options
context:
space:
mode:
authorJonathan Neuschäfer <j.neuschaefer@gmx.net>2011-08-15 22:10:09 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2011-08-20 18:36:33 +0200
commitc0eaf0fad88f15c843098a43ca2cadbf009ce094 (patch)
tree7b129c5055ded1aa400d34409d64bbab363b3e9e /pfinet
parent5a3976828225947d333ff2326d04f8b20e48e072 (diff)
fix common misspellings
* Fix spelling with codespell[1] and manually review it. [1] http://git.profusion.mobi/cgit.cgi/lucas/codespell/
Diffstat (limited to 'pfinet')
-rw-r--r--pfinet/linux-src/arch/sparc/lib/checksum.S2
-rw-r--r--pfinet/linux-src/include/linux/b1lli.h2
-rw-r--r--pfinet/linux-src/include/linux/cdk.h2
-rw-r--r--pfinet/linux-src/include/linux/cdrom.h2
-rw-r--r--pfinet/linux-src/include/linux/coda_opstats.h2
-rw-r--r--pfinet/linux-src/include/linux/cyclades.h4
-rw-r--r--pfinet/linux-src/include/linux/isdn.h4
-rw-r--r--pfinet/linux-src/include/linux/isdn_ppp.h2
-rw-r--r--pfinet/linux-src/include/linux/isdnif.h4
-rw-r--r--pfinet/linux-src/include/linux/ixjuser.h4
-rw-r--r--pfinet/linux-src/include/linux/loop.h2
-rw-r--r--pfinet/linux-src/include/linux/module.h2
-rw-r--r--pfinet/linux-src/include/linux/notifier.h2
-rw-r--r--pfinet/linux-src/include/linux/poll.h2
-rw-r--r--pfinet/linux-src/include/linux/rtnetlink.h2
-rw-r--r--pfinet/linux-src/include/linux/socket.h2
-rw-r--r--pfinet/linux-src/include/linux/soundcard.h2
-rw-r--r--pfinet/linux-src/include/linux/telephony.h4
-rw-r--r--pfinet/linux-src/include/linux/tpqic02.h6
-rw-r--r--pfinet/linux-src/include/linux/tty_ldisc.h2
-rw-r--r--pfinet/linux-src/include/linux/wavefront.h2
-rw-r--r--pfinet/linux-src/include/linux/wireless.h2
-rw-r--r--pfinet/linux-src/include/net/pkt_sched.h2
-rw-r--r--pfinet/linux-src/include/net/tcp.h2
-rw-r--r--pfinet/linux-src/net/core/dev.c2
-rw-r--r--pfinet/linux-src/net/core/sock.c4
-rw-r--r--pfinet/linux-src/net/ipv4/fib_semantics.c2
-rw-r--r--pfinet/linux-src/net/ipv4/icmp.c2
-rw-r--r--pfinet/linux-src/net/ipv4/ip_fw.c2
-rw-r--r--pfinet/linux-src/net/ipv4/ip_gre.c2
-rw-r--r--pfinet/linux-src/net/ipv4/ip_masq_quake.c4
-rw-r--r--pfinet/linux-src/net/ipv4/ip_output.c2
-rw-r--r--pfinet/linux-src/net/ipv4/ipconfig.c2
-rw-r--r--pfinet/linux-src/net/ipv4/ipip.c2
-rw-r--r--pfinet/linux-src/net/ipv4/raw.c2
-rw-r--r--pfinet/linux-src/net/ipv4/tcp.c2
-rw-r--r--pfinet/linux-src/net/ipv4/tcp_input.c8
-rw-r--r--pfinet/linux-src/net/ipv4/tcp_ipv4.c2
-rw-r--r--pfinet/linux-src/net/ipv4/tcp_output.c2
-rw-r--r--pfinet/linux-src/net/ipv6/addrconf.c4
-rw-r--r--pfinet/linux-src/net/ipv6/af_inet6.c2
-rw-r--r--pfinet/linux-src/net/ipv6/icmpv6.c8
-rw-r--r--pfinet/linux-src/net/ipv6/ip6_fib.c2
-rw-r--r--pfinet/linux-src/net/ipv6/ip6_input.c2
-rw-r--r--pfinet/linux-src/net/ipv6/ip6_output.c2
-rw-r--r--pfinet/linux-src/net/ipv6/ndisc.c4
-rw-r--r--pfinet/linux-src/net/ipv6/udp_ipv6.c2
-rw-r--r--pfinet/main.c2
-rw-r--r--pfinet/options.c2
49 files changed, 66 insertions, 66 deletions
diff --git a/pfinet/linux-src/arch/sparc/lib/checksum.S b/pfinet/linux-src/arch/sparc/lib/checksum.S
index d02b6dfb..3dc58259 100644
--- a/pfinet/linux-src/arch/sparc/lib/checksum.S
+++ b/pfinet/linux-src/arch/sparc/lib/checksum.S
@@ -336,7 +336,7 @@ C_LABEL(__csum_partial_copy_sparc_generic):
bne cc_dword_align ! yes, we check for short lengths there
andcc %g1, 0xffffff80, %g0 ! can we use unrolled loop?
3: be 3f ! nope, less than one loop remains
- andcc %o1, 4, %g0 ! dest aligned on 4 or 8 byte boundry?
+ andcc %o1, 4, %g0 ! dest aligned on 4 or 8 byte boundary?
be ccdbl + 4 ! 8 byte aligned, kick ass
5: CSUMCOPY_BIGCHUNK(%o0,%o1,%g7,0x00,%o4,%o5,%g2,%g3,%g4,%g5,%o2,%o3)
CSUMCOPY_BIGCHUNK(%o0,%o1,%g7,0x20,%o4,%o5,%g2,%g3,%g4,%g5,%o2,%o3)
diff --git a/pfinet/linux-src/include/linux/b1lli.h b/pfinet/linux-src/include/linux/b1lli.h
index 72cae4d2..388ff80c 100644
--- a/pfinet/linux-src/include/linux/b1lli.h
+++ b/pfinet/linux-src/include/linux/b1lli.h
@@ -129,7 +129,7 @@ typedef struct avmb1_extcarddef {
#define AVMB1_LOAD_AND_CONFIG 3 /* load image and config to card */
#define AVMB1_ADDCARD_WITH_TYPE 4 /* add a new card, with cardtype */
#define AVMB1_GET_CARDINFO 5 /* get cardtype */
-#define AVMB1_REMOVECARD 6 /* remove a card (usefull for T1) */
+#define AVMB1_REMOVECARD 6 /* remove a card (useful for T1) */
#define AVMB1_REGISTERCARD_IS_OBSOLETE
diff --git a/pfinet/linux-src/include/linux/cdk.h b/pfinet/linux-src/include/linux/cdk.h
index 2180e433..2fab8949 100644
--- a/pfinet/linux-src/include/linux/cdk.h
+++ b/pfinet/linux-src/include/linux/cdk.h
@@ -149,7 +149,7 @@ typedef struct cdkhdr {
/*
* Define the memory mapping structure. This structure is pointed to by
* the memp field in the stlcdkhdr struct. As many as these structures
- * as required are layed out in shared memory to define how the rest of
+ * as required are laid out in shared memory to define how the rest of
* shared memory is divided up. There will be one for each port.
*/
typedef struct cdkmem {
diff --git a/pfinet/linux-src/include/linux/cdrom.h b/pfinet/linux-src/include/linux/cdrom.h
index a8c028fb..4bbdbd44 100644
--- a/pfinet/linux-src/include/linux/cdrom.h
+++ b/pfinet/linux-src/include/linux/cdrom.h
@@ -75,7 +75,7 @@
#define CDROM_GET_MCN 0x5311 /* Obtain the "Universal Product Code"
if available (struct cdrom_mcn) */
#define CDROM_GET_UPC CDROM_GET_MCN /* This one is depricated,
- but here anyway for compatability */
+ but here anyway for compatibility */
#define CDROMRESET 0x5312 /* hard-reset the drive */
#define CDROMVOLREAD 0x5313 /* Get the drive's volume setting
(struct cdrom_volctrl) */
diff --git a/pfinet/linux-src/include/linux/coda_opstats.h b/pfinet/linux-src/include/linux/coda_opstats.h
index fdf3fac4..167490d8 100644
--- a/pfinet/linux-src/include/linux/coda_opstats.h
+++ b/pfinet/linux-src/include/linux/coda_opstats.h
@@ -85,7 +85,7 @@ struct cfs_op_stats {
/*
- * With each call to the minicache, we'll bump the counters whenver
+ * With each call to the minicache, we'll bump the counters whenever
* a call is satisfied internally (through the cache or through a
* redirect), and whenever an operation is caused internally.
* Then, we can add the total operations caught by the minicache
diff --git a/pfinet/linux-src/include/linux/cyclades.h b/pfinet/linux-src/include/linux/cyclades.h
index 008254e6..4e8333c1 100644
--- a/pfinet/linux-src/include/linux/cyclades.h
+++ b/pfinet/linux-src/include/linux/cyclades.h
@@ -134,7 +134,7 @@ struct CYZ_BOOT_CTRL {
/****************** ****************** *******************/
/*
* The data types defined below are used in all ZFIRM interface
- * data structures. They accomodate differences between HW
+ * data structures. They accommodate differences between HW
* architectures and compilers.
*/
@@ -167,7 +167,7 @@ struct CUSTOM_REG {
uclong fpga_version; /* FPGA Version Number Register */
uclong cpu_start; /* CPU start Register (write) */
uclong cpu_stop; /* CPU stop Register (write) */
- uclong misc_reg; /* Miscelaneous Register */
+ uclong misc_reg; /* Miscellaneous Register */
uclong idt_mode; /* IDT mode Register */
uclong uart_irq_status; /* UART IRQ status Register */
uclong clear_timer0_irq; /* Clear timer interrupt Register */
diff --git a/pfinet/linux-src/include/linux/isdn.h b/pfinet/linux-src/include/linux/isdn.h
index a0a0b0fa..742fe14b 100644
--- a/pfinet/linux-src/include/linux/isdn.h
+++ b/pfinet/linux-src/include/linux/isdn.h
@@ -23,7 +23,7 @@
* $Log: isdn.h,v $
* Revision 1.81 1999/10/27 21:21:18 detabc
* Added support for building logically-bind-group's per interface.
- * usefull for outgoing call's with more then one isdn-card.
+ * useful for outgoing call's with more then one isdn-card.
*
* Switchable support to dont reset the hangup-timeout for
* receive frames. Most part's of the timru-rules for receiving frames
@@ -192,7 +192,7 @@
* Added changes for recent 2.1.x kernels:
* changed return type of isdn_close
* queue_task_* -> queue_task
- * clear/set_bit -> test_and_... where apropriate.
+ * clear/set_bit -> test_and_... where appropriate.
* changed type of hard_header_cache parameter.
*
* Revision 1.28 1997/03/07 01:33:01 fritz
diff --git a/pfinet/linux-src/include/linux/isdn_ppp.h b/pfinet/linux-src/include/linux/isdn_ppp.h
index 06d71797..e7682fb3 100644
--- a/pfinet/linux-src/include/linux/isdn_ppp.h
+++ b/pfinet/linux-src/include/linux/isdn_ppp.h
@@ -77,7 +77,7 @@ struct isdn_ppp_comp_data {
*
* We use this same struct for the reset entry of the compressor to commu-
* nicate to its caller how to deal with sending of a Reset Ack. In this
- * case, expra is not used, but other options still apply (supressing
+ * case, expra is not used, but other options still apply (suppressing
* sending with rsend, appending arbitrary data, etc).
*/
diff --git a/pfinet/linux-src/include/linux/isdnif.h b/pfinet/linux-src/include/linux/isdnif.h
index 07e3b826..7380b326 100644
--- a/pfinet/linux-src/include/linux/isdnif.h
+++ b/pfinet/linux-src/include/linux/isdnif.h
@@ -73,7 +73,7 @@
* Added changes for recent 2.1.x kernels:
* changed return type of isdn_close
* queue_task_* -> queue_task
- * clear/set_bit -> test_and_... where apropriate.
+ * clear/set_bit -> test_and_... where appropriate.
* changed type of hard_header_cache parameter.
*
* Revision 1.19 1997/03/25 23:13:56 keil
@@ -189,7 +189,7 @@
/* */
/* The proceed command holds a incoming call in a state to leave processes */
/* enough time to check whether ist should be accepted. */
-/* The PROT_IO Command extends the interface to make protocol dependant */
+/* The PROT_IO Command extends the interface to make protocol dependent */
/* features available (call diversion, call waiting...). */
/* */
/* The PROT_IO Command is executed with the desired driver id and the arg */
diff --git a/pfinet/linux-src/include/linux/ixjuser.h b/pfinet/linux-src/include/linux/ixjuser.h
index a7019533..1ee0ee91 100644
--- a/pfinet/linux-src/include/linux/ixjuser.h
+++ b/pfinet/linux-src/include/linux/ixjuser.h
@@ -31,7 +31,7 @@ static char ixjuser_h_rcsid[] = "$Id: ixjuser.h,v 3.4 1999/12/16 22:18:36 root E
/***************************************************************************
If you use the IXJCTL_TESTRAM command, the card must be power
- cycled to reset the SRAM values before futher use.
+ cycled to reset the SRAM values before further use.
***************************************************************************/
#define IXJCTL_DSP_RESET _IO ('q', 0xC0)
@@ -332,7 +332,7 @@ typedef struct {
* This group of IOCTLs deal with the Acoustic Echo Cancellation settings
* of the DSP
*
-* Issueing the IXJCTL_AEC_START command with a value of AEC_OFF has the
+* Issuing the IXJCTL_AEC_START command with a value of AEC_OFF has the
* same effect as IXJCTL_AEC_STOP. This is to simplify slider bar
* controls. IXJCTL_AEC_GET_LEVEL returns the current setting of the AEC.
******************************************************************************/
diff --git a/pfinet/linux-src/include/linux/loop.h b/pfinet/linux-src/include/linux/loop.h
index d276911c..43b3bd69 100644
--- a/pfinet/linux-src/include/linux/loop.h
+++ b/pfinet/linux-src/include/linux/loop.h
@@ -63,7 +63,7 @@ typedef int (* transfer_proc_t)(struct loop_device *, int cmd,
#endif
/*
- * This uses kdev_t because glibc currently has no appropiate
+ * This uses kdev_t because glibc currently has no appropriate
* conversion version for the loop ioctls.
* The situation is very unpleasant
*/
diff --git a/pfinet/linux-src/include/linux/module.h b/pfinet/linux-src/include/linux/module.h
index 94cce874..585a8d1d 100644
--- a/pfinet/linux-src/include/linux/module.h
+++ b/pfinet/linux-src/include/linux/module.h
@@ -230,7 +230,7 @@ extern struct module *module_list;
In the kernel, the symbol is added to the kernel's global symbol table.
In a module, it controls which variables are exported. If no
- variables are explicitly exported, the action is controled by the
+ variables are explicitly exported, the action is controlled by the
insmod -[xX] flags. Otherwise, only the variables listed are exported.
This obviates the need for the old register_symtab() function. */
diff --git a/pfinet/linux-src/include/linux/notifier.h b/pfinet/linux-src/include/linux/notifier.h
index 42faceaa..1e8bf707 100644
--- a/pfinet/linux-src/include/linux/notifier.h
+++ b/pfinet/linux-src/include/linux/notifier.h
@@ -106,7 +106,7 @@ extern __inline__ int notifier_call_chain(struct notifier_block **n, unsigned lo
#define SYS_POWER_OFF 0x0003 /* Notify of system power off */
/*
- * Publically visible notifier objects
+ * Publicly visible notifier objects
*/
extern struct notifier_block *boot_notifier_list;
diff --git a/pfinet/linux-src/include/linux/poll.h b/pfinet/linux-src/include/linux/poll.h
index 7eb57334..991204f1 100644
--- a/pfinet/linux-src/include/linux/poll.h
+++ b/pfinet/linux-src/include/linux/poll.h
@@ -51,7 +51,7 @@ extern inline void poll_wait(struct file * filp, struct wait_queue ** wait_addre
typedef unsigned long kernel_fd_set[KFDS_NR/__NFDBITS];
/*
- * Scaleable version of the fd_set.
+ * Scalable version of the fd_set.
*/
typedef struct {
diff --git a/pfinet/linux-src/include/linux/rtnetlink.h b/pfinet/linux-src/include/linux/rtnetlink.h
index 4fda960d..548a9b14 100644
--- a/pfinet/linux-src/include/linux/rtnetlink.h
+++ b/pfinet/linux-src/include/linux/rtnetlink.h
@@ -138,7 +138,7 @@ enum
*/
#define RTPROT_GATED 8 /* Apparently, GateD */
-#define RTPROT_RA 9 /* RDISC/ND router advertisments */
+#define RTPROT_RA 9 /* RDISC/ND router advertisements */
#define RTPROT_MRT 10 /* Merit MRT */
#define RTPROT_ZEBRA 11 /* Zebra */
#define RTPROT_BIRD 12 /* BIRD */
diff --git a/pfinet/linux-src/include/linux/socket.h b/pfinet/linux-src/include/linux/socket.h
index 837a3e46..b427f992 100644
--- a/pfinet/linux-src/include/linux/socket.h
+++ b/pfinet/linux-src/include/linux/socket.h
@@ -53,7 +53,7 @@ struct cmsghdr {
};
/*
- * Ancilliary data object information MACROS
+ * Ancillary data object information MACROS
* Table 5-14 of POSIX 1003.1g
*/
diff --git a/pfinet/linux-src/include/linux/soundcard.h b/pfinet/linux-src/include/linux/soundcard.h
index 2d5128dc..2041b4d4 100644
--- a/pfinet/linux-src/include/linux/soundcard.h
+++ b/pfinet/linux-src/include/linux/soundcard.h
@@ -1204,7 +1204,7 @@ extern int OSS_write_patch2(int fd, unsigned char *buf, int len);
#define SEQ_PANNING(dev, voice, pos) SEQ_CONTROL(dev, voice, CTL_PAN, (pos+128) / 2)
/*
- * Timing and syncronization macros
+ * Timing and synchronization macros
*/
#define _TIMER_EVENT(ev, parm) {_SEQ_NEEDBUF(8);\
diff --git a/pfinet/linux-src/include/linux/telephony.h b/pfinet/linux-src/include/linux/telephony.h
index 082b885f..0e4a95a4 100644
--- a/pfinet/linux-src/include/linux/telephony.h
+++ b/pfinet/linux-src/include/linux/telephony.h
@@ -168,8 +168,8 @@ typedef enum {
* indicate the current state of the hookswitch. The pstn_ring bit
* indicates that the DAA on a LineJACK card has detected ring voltage on
* the PSTN port. The caller_id bit indicates that caller_id data has been
-* recieved and is available. The pstn_wink bit indicates that the DAA on
-* the LineJACK has recieved a wink from the telco switch. The f0, f1, f2
+* received and is available. The pstn_wink bit indicates that the DAA on
+* the LineJACK has received a wink from the telco switch. The f0, f1, f2
* and f3 bits indicate that the filter has been triggered by detecting the
* frequency programmed into that filter.
*
diff --git a/pfinet/linux-src/include/linux/tpqic02.h b/pfinet/linux-src/include/linux/tpqic02.h
index fe13ad6e..790e0e5a 100644
--- a/pfinet/linux-src/include/linux/tpqic02.h
+++ b/pfinet/linux-src/include/linux/tpqic02.h
@@ -588,7 +588,7 @@
*/
#define TP_REWCLOSE(d) ((MINOR(d)&0x01) == 1) /* rewind bit */
- /* rewind is only done if data has been transfered */
+ /* rewind is only done if data has been transferred */
#define TP_DENS(dev) ((MINOR(dev) >> 1) & 0x07) /* tape density */
#define TP_UNIT(dev) ((MINOR(dev) >> 4) & 0x07) /* unit number */
@@ -633,8 +633,8 @@ struct tpstatus { /* sizeof(short)==2), LSB first */
#define EXC_WP 3 /* Write protected */
#define EXC_EOM 4 /* EOM */
#define EXC_RWA 5 /* read/write abort */
-#define EXC_XBAD 6 /* read error, bad block transfered */
-#define EXC_XFILLER 7 /* read error, filler block transfered */
+#define EXC_XBAD 6 /* read error, bad block transferred */
+#define EXC_XFILLER 7 /* read error, filler block transferred */
#define EXC_NDT 8 /* read error, no data */
#define EXC_NDTEOM 9 /* read error, no data & EOM */
#define EXC_NDTBOM 10 /* read error, no data & BOM */
diff --git a/pfinet/linux-src/include/linux/tty_ldisc.h b/pfinet/linux-src/include/linux/tty_ldisc.h
index 501ea076..4e904f83 100644
--- a/pfinet/linux-src/include/linux/tty_ldisc.h
+++ b/pfinet/linux-src/include/linux/tty_ldisc.h
@@ -62,7 +62,7 @@
* void (*set_termios)(struct tty_struct *tty, struct termios * old);
*
* This function notifies the line discpline that a change has
- * been made to the termios stucture.
+ * been made to the termios structure.
*
* int (*poll)(struct tty_struct * tty, struct file * file,
* poll_table *wait);
diff --git a/pfinet/linux-src/include/linux/wavefront.h b/pfinet/linux-src/include/linux/wavefront.h
index f96c52d0..f816f940 100644
--- a/pfinet/linux-src/include/linux/wavefront.h
+++ b/pfinet/linux-src/include/linux/wavefront.h
@@ -667,7 +667,7 @@ typedef struct wf_fx_info {
/* Allow direct user-space control over FX memory/coefficient data.
In theory this could be used to download the FX microprogram,
- but it would be a little slower, and involve some wierd code.
+ but it would be a little slower, and involve some weird code.
*/
#define WFFX_MEMSET 69
diff --git a/pfinet/linux-src/include/linux/wireless.h b/pfinet/linux-src/include/linux/wireless.h
index 868f812a..61f85152 100644
--- a/pfinet/linux-src/include/linux/wireless.h
+++ b/pfinet/linux-src/include/linux/wireless.h
@@ -146,7 +146,7 @@
* The "flags" member indicate if the ESSID is active or not (promiscuous).
*/
-/* Other parameters usefull in 802.11 and some other devices */
+/* Other parameters useful in 802.11 and some other devices */
#define SIOCSIWRATE 0x8B20 /* set default bit rate (bps) */
#define SIOCGIWRATE 0x8B21 /* get default bit rate (bps) */
#define SIOCSIWRTS 0x8B22 /* set RTS/CTS threshold (bytes) */
diff --git a/pfinet/linux-src/include/net/pkt_sched.h b/pfinet/linux-src/include/net/pkt_sched.h
index 9911464f..c2ef8656 100644
--- a/pfinet/linux-src/include/net/pkt_sched.h
+++ b/pfinet/linux-src/include/net/pkt_sched.h
@@ -119,7 +119,7 @@ struct qdisc_rate_table
The result: [34]86 is not good choice for QoS router :-(
- The things are not so bad, because we may use artifical
+ The things are not so bad, because we may use artificial
clock evaluated by integration of network data flow
in the most critical places.
diff --git a/pfinet/linux-src/include/net/tcp.h b/pfinet/linux-src/include/net/tcp.h
index 0e7e4bb6..8072324d 100644
--- a/pfinet/linux-src/include/net/tcp.h
+++ b/pfinet/linux-src/include/net/tcp.h
@@ -713,7 +713,7 @@ extern __inline__ __u32 tcp_recalc_ssthresh(struct tcp_opt *tp)
/* TCP timestamps are only 32-bits, this causes a slight
* complication on 64-bit systems since we store a snapshot
- * of jiffies in the buffer control blocks below. We decidely
+ * of jiffies in the buffer control blocks below. We decidedly
* only use of the low 32-bits of jiffies and hide the ugly
* casts with the following macro.
*/
diff --git a/pfinet/linux-src/net/core/dev.c b/pfinet/linux-src/net/core/dev.c
index 5b4c6255..92e105a1 100644
--- a/pfinet/linux-src/net/core/dev.c
+++ b/pfinet/linux-src/net/core/dev.c
@@ -187,7 +187,7 @@ int netdev_nit=0;
*
* BEWARE!!! Protocol handlers, mangling input packets,
* MUST BE last in hash buckets and checking protocol handlers
- * MUST start from promiscous ptype_all chain in net_bh.
+ * MUST start from promiscuous ptype_all chain in net_bh.
* It is true now, do not change it.
* Explantion follows: if protocol handler, mangling packet, will
* be the first on list, it is not able to sense, that packet
diff --git a/pfinet/linux-src/net/core/sock.c b/pfinet/linux-src/net/core/sock.c
index e0eb41a0..c47c935b 100644
--- a/pfinet/linux-src/net/core/sock.c
+++ b/pfinet/linux-src/net/core/sock.c
@@ -138,7 +138,7 @@ __u32 sysctl_rmem_max = SK_RMEM_MAX;
__u32 sysctl_wmem_default = SK_WMEM_MAX;
__u32 sysctl_rmem_default = SK_RMEM_MAX;
-/* Maximal space eaten by iovec or ancilliary data plus some space */
+/* Maximal space eaten by iovec or ancillary data plus some space */
int sysctl_optmem_max = sizeof(unsigned long)*(2*UIO_MAXIOV + 512);
/*
@@ -693,7 +693,7 @@ struct sk_buff *sock_alloc_send_skb(struct sock *sk, unsigned long size,
* 1003.1g draft 6.4. If we (the user) did a shutdown()
* call however we should not.
*
- * Note: This routine isnt just used for datagrams and
+ * Note: This routine isn't just used for datagrams and
* anyway some datagram protocols have a notion of
* close down.
*/
diff --git a/pfinet/linux-src/net/ipv4/fib_semantics.c b/pfinet/linux-src/net/ipv4/fib_semantics.c
index b78f7eba..b7edb29b 100644
--- a/pfinet/linux-src/net/ipv4/fib_semantics.c
+++ b/pfinet/linux-src/net/ipv4/fib_semantics.c
@@ -291,7 +291,7 @@ int fib_nh_match(struct rtmsg *r, struct nlmsghdr *nlh, struct kern_rta *rta,
Attempt to reconcile all of these (alas, self-contradictory) conditions
results in pretty ugly and hairy code with obscure logic.
- I choosed to generalized it instead, so that the size
+ I chose to generalize it instead, so that the size
of code does not increase practically, but it becomes
much more general.
Every prefix is assigned a "scope" value: "host" is local address,
diff --git a/pfinet/linux-src/net/ipv4/icmp.c b/pfinet/linux-src/net/ipv4/icmp.c
index 6c1edfd7..7fad4783 100644
--- a/pfinet/linux-src/net/ipv4/icmp.c
+++ b/pfinet/linux-src/net/ipv4/icmp.c
@@ -730,7 +730,7 @@ static void icmp_unreach(struct icmphdr *icmph, struct sk_buff *skb, int len)
*/
/*
- * Check the other end isnt violating RFC 1122. Some routers send
+ * Check the other end isn't violating RFC 1122. Some routers send
* bogus responses to broadcast frames. If you see this message
* first check your netmask matches at both ends, if it does then
* get the other vendor to fix their kit.
diff --git a/pfinet/linux-src/net/ipv4/ip_fw.c b/pfinet/linux-src/net/ipv4/ip_fw.c
index 400f46c0..73af70ae 100644
--- a/pfinet/linux-src/net/ipv4/ip_fw.c
+++ b/pfinet/linux-src/net/ipv4/ip_fw.c
@@ -239,7 +239,7 @@ struct ip_chain
ip_chainlabel label; /* Defines the label for each block */
struct ip_chain *next; /* Pointer to next block */
struct ip_fwkernel *chain; /* Pointer to first rule in block */
- __u32 refcount; /* Number of refernces to block */
+ __u32 refcount; /* Number of references to block */
int policy; /* Default rule for chain. Only *
* used in built in chains */
struct ip_reent reent[0]; /* Actually several of these */
diff --git a/pfinet/linux-src/net/ipv4/ip_gre.c b/pfinet/linux-src/net/ipv4/ip_gre.c
index 6a7546fd..4b03c226 100644
--- a/pfinet/linux-src/net/ipv4/ip_gre.c
+++ b/pfinet/linux-src/net/ipv4/ip_gre.c
@@ -436,7 +436,7 @@ void ipgre_err(struct sk_buff *skb, unsigned char *dp, int len)
/* Impossible event. */
return;
case ICMP_FRAG_NEEDED:
- /* And it is the only really necesary thing :-) */
+ /* And it is the only really necessary thing :-) */
rel_info = ntohs(skb->h.icmph->un.frag.mtu);
if (rel_info < grehlen+68)
return;
diff --git a/pfinet/linux-src/net/ipv4/ip_masq_quake.c b/pfinet/linux-src/net/ipv4/ip_masq_quake.c
index 995c3a0a..646348d1 100644
--- a/pfinet/linux-src/net/ipv4/ip_masq_quake.c
+++ b/pfinet/linux-src/net/ipv4/ip_masq_quake.c
@@ -92,7 +92,7 @@ masq_quake_in (struct ip_masq_app *mapp, struct ip_masq *ms, struct sk_buff **sk
iph = skb->nh.iph;
uh = (struct udphdr *)&(((char *)iph)[iph->ihl*4]);
- /* Check for lenght */
+ /* Check for length */
if(ntohs(uh->len) < 5)
return 0;
@@ -178,7 +178,7 @@ masq_quake_out (struct ip_masq_app *mapp, struct ip_masq *ms, struct sk_buff **s
iph = skb->nh.iph;
uh = (struct udphdr *)&(((char *)iph)[iph->ihl*4]);
- /* Check for lenght */
+ /* Check for length */
if(ntohs(uh->len) < 5)
return 0;
diff --git a/pfinet/linux-src/net/ipv4/ip_output.c b/pfinet/linux-src/net/ipv4/ip_output.c
index c8f416ee..d85ba6b5 100644
--- a/pfinet/linux-src/net/ipv4/ip_output.c
+++ b/pfinet/linux-src/net/ipv4/ip_output.c
@@ -782,7 +782,7 @@ void ip_fragment(struct sk_buff *skb, int (*output)(struct sk_buff*))
/* IF: it doesn't fit, use 'mtu' - the data space left */
if (len > mtu)
len = mtu;
- /* IF: we are not sending upto and including the packet end
+ /* IF: we are not sending up to and including the packet end
then align the next start on an eight byte boundary */
if (len < left) {
len &= ~7;
diff --git a/pfinet/linux-src/net/ipv4/ipconfig.c b/pfinet/linux-src/net/ipv4/ipconfig.c
index 0770bad1..bb95824c 100644
--- a/pfinet/linux-src/net/ipv4/ipconfig.c
+++ b/pfinet/linux-src/net/ipv4/ipconfig.c
@@ -844,7 +844,7 @@ int __init ip_auto_config(void)
}
/*
- * Use defaults whereever applicable.
+ * Use defaults wherever applicable.
*/
if (ic_defaults() < 0)
return -1;
diff --git a/pfinet/linux-src/net/ipv4/ipip.c b/pfinet/linux-src/net/ipv4/ipip.c
index 0aeef4a3..119d7567 100644
--- a/pfinet/linux-src/net/ipv4/ipip.c
+++ b/pfinet/linux-src/net/ipv4/ipip.c
@@ -365,7 +365,7 @@ void ipip_err(struct sk_buff *skb, unsigned char *dp, int len)
/* Impossible event. */
return;
case ICMP_FRAG_NEEDED:
- /* And it is the only really necesary thing :-) */
+ /* And it is the only really necessary thing :-) */
rel_info = ntohs(skb->h.icmph->un.frag.mtu);
if (rel_info < hlen+68)
return;
diff --git a/pfinet/linux-src/net/ipv4/raw.c b/pfinet/linux-src/net/ipv4/raw.c
index 5e7910dd..a0aaa82e 100644
--- a/pfinet/linux-src/net/ipv4/raw.c
+++ b/pfinet/linux-src/net/ipv4/raw.c
@@ -379,7 +379,7 @@ static void raw_close(struct sock *sk, long timeout)
sk->state = TCP_CLOSE;
raw_v4_unhash(sk);
/*
- B. Raw sockets may have direct kernel refereneces. Kill them.
+ B. Raw sockets may have direct kernel references. Kill them.
*/
ip_ra_control(sk, 0, NULL);
diff --git a/pfinet/linux-src/net/ipv4/tcp.c b/pfinet/linux-src/net/ipv4/tcp.c
index cf8cee22..8cde3854 100644
--- a/pfinet/linux-src/net/ipv4/tcp.c
+++ b/pfinet/linux-src/net/ipv4/tcp.c
@@ -1218,7 +1218,7 @@ int tcp_recvmsg(struct sock *sk, struct msghdr *msg,
break;
/* We need to check signals first, to get correct SIGURG
- * handling. FIXME: Need to check this doesnt impact 1003.1g
+ * handling. FIXME: Need to check this doesn't impact 1003.1g
* and move it down to the bottom of the loop
*/
if (signal_pending(current)) {
diff --git a/pfinet/linux-src/net/ipv4/tcp_input.c b/pfinet/linux-src/net/ipv4/tcp_input.c
index 7f5cc4e7..e84eaf43 100644
--- a/pfinet/linux-src/net/ipv4/tcp_input.c
+++ b/pfinet/linux-src/net/ipv4/tcp_input.c
@@ -130,7 +130,7 @@ static __inline__ void tcp_remember_ack(struct tcp_opt *tp, struct tcphdr *th,
{
tp->delayed_acks++;
- /* Tiny-grams with PSH set artifically deflate our
+ /* Tiny-grams with PSH set artificially deflate our
* ato measurement, but with a lower bound.
*/
if(th->psh && (skb->len < (tp->mss_cache >> 1))) {
@@ -989,7 +989,7 @@ tcp_timewait_state_process(struct tcp_tw_bucket *tw, struct sk_buff *skb,
/* Check RST or SYN */
if(th->rst || th->syn) {
- /* This is TIME_WAIT assasination, in two flavors.
+ /* This is TIME_WAIT assassination, in two flavors.
* Oh well... nobody has a sufficient solution to this
* protocol bug yet.
*/
@@ -1931,7 +1931,7 @@ int tcp_rcv_established(struct sock *sk, struct sk_buff *skb,
* Dave!!! Phrase above (and all about rcv_mss) has
* nothing to do with reality. rcv_mss must measure TOTAL
* size, including sacks, IP options etc. Hence, measure_rcv_mss
- * must occure before pulling etc, otherwise it will flap
+ * must occur before pulling etc, otherwise it will flap
* like hell. Even putting it before tcp_data is wrong,
* it should use skb->tail - skb->nh.raw instead.
* --ANK (980805)
@@ -1939,7 +1939,7 @@ int tcp_rcv_established(struct sock *sk, struct sk_buff *skb,
* BTW I broke it. Now all TCP options are handled equally
* in mss_clamp calculations (i.e. ignored, rfc1122),
* and mss_cache does include all of them (i.e. tstamps)
- * except for sacks, to calulate effective mss faster.
+ * except for sacks, to calculate effective mss faster.
* --ANK (980805)
*/
tcp_measure_rcv_mss(sk, skb);
diff --git a/pfinet/linux-src/net/ipv4/tcp_ipv4.c b/pfinet/linux-src/net/ipv4/tcp_ipv4.c
index ab6db9bb..99194238 100644
--- a/pfinet/linux-src/net/ipv4/tcp_ipv4.c
+++ b/pfinet/linux-src/net/ipv4/tcp_ipv4.c
@@ -1516,7 +1516,7 @@ struct sock * tcp_v4_syn_recv_sock(struct sock *sk, struct sk_buff *skb,
#ifdef CONFIG_IP_TRANSPARENT_PROXY
/* The new socket created for transparent proxy may fall
* into a non-existed bind bucket because sk->num != newsk->num.
- * Ensure existance of the bucket now. The placement of the check
+ * Ensure existence of the bucket now. The placement of the check
* later will require to destroy just created newsk in the case of fail.
* 1998/04/22 Andrey V. Savochkin <saw@msu.ru>
*/
diff --git a/pfinet/linux-src/net/ipv4/tcp_output.c b/pfinet/linux-src/net/ipv4/tcp_output.c
index 2ac5e8a2..9ea4b7ad 100644
--- a/pfinet/linux-src/net/ipv4/tcp_output.c
+++ b/pfinet/linux-src/net/ipv4/tcp_output.c
@@ -257,7 +257,7 @@ static int tcp_fragment(struct sock *sk, struct sk_buff *skb, u32 len)
for TCP options, but includes only bare TCP header.
tp->mss_clamp is mss negotiated at connection setup.
- It is minumum of user_mss and mss received with SYN.
+ It is minimum of user_mss and mss received with SYN.
It also does not include TCP options.
tp->pmtu_cookie is last pmtu, seen by this function.
diff --git a/pfinet/linux-src/net/ipv6/addrconf.c b/pfinet/linux-src/net/ipv6/addrconf.c
index e3ca6d72..d392b3fd 100644
--- a/pfinet/linux-src/net/ipv6/addrconf.c
+++ b/pfinet/linux-src/net/ipv6/addrconf.c
@@ -373,9 +373,9 @@ static void ipv6_del_addr(struct inet6_ifaddr *ifp)
}
/*
- * Choose an apropriate source address
+ * Choose an appropriate source address
* should do:
- * i) get an address with an apropriate scope
+ * i) get an address with an appropriate scope
* ii) see if there is a specific route for the destination and use
* an address of the attached interface
* iii) don't use deprecated addresses
diff --git a/pfinet/linux-src/net/ipv6/af_inet6.c b/pfinet/linux-src/net/ipv6/af_inet6.c
index fb5d3957..ca428188 100644
--- a/pfinet/linux-src/net/ipv6/af_inet6.c
+++ b/pfinet/linux-src/net/ipv6/af_inet6.c
@@ -551,7 +551,7 @@ __initfunc(void inet6_proto_init(struct net_proto *pro))
/*
* ipngwg API draft makes clear that the correct semantics
* for TCP and UDP is to consider one TCP and UDP instance
- * in a host availiable by both INET and INET6 APIs and
+ * in a host available by both INET and INET6 APIs and
* able to communicate via both network protocols.
*/
diff --git a/pfinet/linux-src/net/ipv6/icmpv6.c b/pfinet/linux-src/net/ipv6/icmpv6.c
index f7bebe0a..9d701764 100644
--- a/pfinet/linux-src/net/ipv6/icmpv6.c
+++ b/pfinet/linux-src/net/ipv6/icmpv6.c
@@ -567,15 +567,15 @@ int icmpv6_rcv(struct sk_buff *skb, unsigned long len)
default:
if (net_ratelimit())
- printk(KERN_DEBUG "icmpv6: msg of unkown type\n");
+ printk(KERN_DEBUG "icmpv6: msg of unknown type\n");
/* informational */
if (type & 0x80)
break;
- /*
- * error of unkown type.
- * must pass to upper level
+ /*
+ * error of unknown type.
+ * must pass to upper level
*/
icmpv6_notify(skb, type, hdr->icmp6_code, hdr->icmp6_mtu,
diff --git a/pfinet/linux-src/net/ipv6/ip6_fib.c b/pfinet/linux-src/net/ipv6/ip6_fib.c
index d1908348..9468c023 100644
--- a/pfinet/linux-src/net/ipv6/ip6_fib.c
+++ b/pfinet/linux-src/net/ipv6/ip6_fib.c
@@ -234,7 +234,7 @@ static __inline__ void rt6_release(struct rt6_info *rt)
/*
* Routing Table
*
- * return the apropriate node for a routing tree "add" operation
+ * return the appropriate node for a routing tree "add" operation
* by either creating and inserting or by returning an existing
* node.
*/
diff --git a/pfinet/linux-src/net/ipv6/ip6_input.c b/pfinet/linux-src/net/ipv6/ip6_input.c
index 54a3f455..c4a51831 100644
--- a/pfinet/linux-src/net/ipv6/ip6_input.c
+++ b/pfinet/linux-src/net/ipv6/ip6_input.c
@@ -246,7 +246,7 @@ int ip6_mc_input(struct sk_buff *skb)
deliver = 1;
/*
- * IPv6 multicast router mode isnt currently supported.
+ * IPv6 multicast router mode isn't currently supported.
*/
#if 0
if (ipv6_config.multicast_route) {
diff --git a/pfinet/linux-src/net/ipv6/ip6_output.c b/pfinet/linux-src/net/ipv6/ip6_output.c
index f67e3e9e..e06ad59a 100644
--- a/pfinet/linux-src/net/ipv6/ip6_output.c
+++ b/pfinet/linux-src/net/ipv6/ip6_output.c
@@ -481,7 +481,7 @@ int ip6_build_xmit(struct sock *sk, inet_getfrag_t getfrag, const void *data,
if (err) {
#if IP6_DEBUG >= 2
printk(KERN_DEBUG "ip6_build_xmit: "
- "no availiable source address\n");
+ "no available source address\n");
#endif
goto out;
}
diff --git a/pfinet/linux-src/net/ipv6/ndisc.c b/pfinet/linux-src/net/ipv6/ndisc.c
index 3b3d3f4e..61f950d2 100644
--- a/pfinet/linux-src/net/ipv6/ndisc.c
+++ b/pfinet/linux-src/net/ipv6/ndisc.c
@@ -554,7 +554,7 @@ static void ndisc_router_discovery(struct sk_buff *skb)
if (skb->nh.ipv6h->hop_limit != 255) {
printk(KERN_INFO
- "NDISC: fake router advertisment received\n");
+ "NDISC: fake router advertisement received\n");
return;
}
@@ -694,7 +694,7 @@ static void ndisc_router_discovery(struct sk_buff *skb)
ND_PRINTK0("got illegal option with RA");
break;
default:
- ND_PRINTK0("unkown option in RA\n");
+ ND_PRINTK0("unknown option in RA\n");
};
optlen -= len;
opt += len;
diff --git a/pfinet/linux-src/net/ipv6/udp_ipv6.c b/pfinet/linux-src/net/ipv6/udp_ipv6.c
index 1886e8ac..f6968ae4 100644
--- a/pfinet/linux-src/net/ipv6/udp_ipv6.c
+++ b/pfinet/linux-src/net/ipv6/udp_ipv6.c
@@ -335,7 +335,7 @@ ipv4_connected:
ip6_dst_store(sk, dst, fl.fl6_dst);
- /* get the source adddress used in the apropriate device */
+ /* get the source adddress used in the appropriate device */
err = ipv6_get_saddr(dst, daddr, &saddr);
diff --git a/pfinet/main.c b/pfinet/main.c
index c1e080a6..b4af267a 100644
--- a/pfinet/main.c
+++ b/pfinet/main.c
@@ -288,7 +288,7 @@ main (int argc,
/* Parse options. When successful, this configures the interfaces
before returning; to do so, it will acquire the global_lock.
- (And when not sucessful, it never returns.) */
+ (And when not successful, it never returns.) */
argp_parse (&pfinet_argp, argc, argv, 0,0,0);
task_get_bootstrap_port (mach_task_self (), &bootstrap);
diff --git a/pfinet/options.c b/pfinet/options.c
index d0a1ff2b..21a35c61 100644
--- a/pfinet/options.c
+++ b/pfinet/options.c
@@ -479,7 +479,7 @@ parse_opt (int opt, char *arg, struct argp_state *state)
/* Fall through to free hook. */
case ARGP_KEY_ERROR:
- /* Parsing error occured, free everything. */
+ /* Parsing error occurred, free everything. */
free_hook:
free (h->interfaces);
free (h);