- 18 Sep, 2003 1 commit
-
-
Arnaldo Carvalho de Melo authored
-
- 17 Sep, 2003 2 commits
-
-
Arnaldo Carvalho de Melo authored
Renaming lan_hdrs_init to llc_mac_hdr_init and making all places check if it fails.
-
Arnaldo Carvalho de Melo authored
Also rename fix_up_incoming_skb to llc_fixup_skb, to be more namespace friendly. Ah, make it inline too.
-
- 16 Sep, 2003 8 commits
-
-
Arnaldo Carvalho de Melo authored
For this some more functions had to be moved around, now one doesn't have to explicitely select LLC to have access in the menu to ipx, appletalk, token ring, etc. This is not yet as good as I want it to be, but at least makes it easier for the hordes of users to select stuff, making it look more like how it was in 2.4. In the next changesets I'll fix the fact that CONFIG_TR is a bool and makes psnap, p8022 and llc_core to be built statically even tho the token ring drivers are being build as modules.
-
Arnaldo Carvalho de Melo authored
-
Arnaldo Carvalho de Melo authored
Making them inline, as they are small enough and some very seldomly used.
-
Arnaldo Carvalho de Melo authored
Also move llc_save_primitive to llc_sap, almost untangling the LLC2 stack from the core.
-
Arnaldo Carvalho de Melo authored
-
Arnaldo Carvalho de Melo authored
-
Arnaldo Carvalho de Melo authored
-
Arnaldo Carvalho de Melo authored
-
- 15 Sep, 2003 4 commits
-
-
Arnaldo Carvalho de Melo authored
Also add a prototype for llc_conn_rcv, that will move away in the next changesets. but for now is needed to kill a warning.
-
Arnaldo Carvalho de Melo authored
-
Arnaldo Carvalho de Melo authored
And also rename it to llc_pdu_type and make it return the type, this is to make llc_mac more and more autonomous of the rest of the llc code, to the point where it will be a separate loadable module.
-
Arnaldo Carvalho de Melo authored
This is the start of the split of LLC into a core part and the bigger, not needed by ipx, token ring, appletalk, etc, LLC2 stack.
-
- 12 Sep, 2003 7 commits
-
-
Harald Welte authored
-
Krishna Kumar authored
-
Stephen Hemminger authored
-
bk://linux-bt.bkbits.net/bt-2.5David S. Miller authored
into nuts.ninka.net:/disk1/davem/BK/net-2.5
-
Arnaldo Carvalho de Melo authored
-
Kevin P. Fleming authored
-
-
- 11 Sep, 2003 18 commits
-
-
bk://kernel.bkbits.net/davem/sparc-2.5Linus Torvalds authored
into home.osdl.org:/home/torvalds/v2.5/linux
-
Maksim Krasnyanskiy authored
This will allow fixing races with rmmod and sysfs access. Patch from Stephen Hemminger <shemminger@osdl.org>
-
David S. Miller authored
into kernel.bkbits.net:/home/davem/sparc-2.5
-
David S. Miller authored
-
Meelis Roos authored
-
Keith M. Wesolowski authored
-
Rob Radez authored
-
Ricky Beam authored
-
David S. Miller authored
into kernel.bkbits.net:/home/davem/net-2.5
-
Rusty Russell authored
Harald synced up ipt_REJECT.c from 2.4 route fixes, but it had changed a fair bit because of the nonlinear fixes. This repairs it. 1) Copying of tcp header onto stack. 2) ...which also checks length requirement. 3) Skip checksum check: requires linear packet.
-
Rusty Russell authored
Herve Eychenne noted that many ADSL connections get the same address when the interface comes back up, so some users use SNAT instead of masquerade. The answer is that MASQUERADE should only drop connections when the interface comes up, and then only if the interface address has actually changed.
-
David Woodhouse authored
-
Dave Jones authored
-
Chas Williams authored
-
Chas Williams authored
- introduction of the struct array 'atm_proc_ents': - removal of code duplication in atm_proc_cleanup(); - removal of code duplication in atm_proc_init(); - removal of the macros CREATE_SEQ_ENTRY() and CREATE_ENTRY(); - /proc/net/atm/vcc returns to /proc/net/atm/vc; - credits at the top of the file; - replaced proc_dev_atm_operations by proc_atm_dev_ops; - atm_proc_dev_register: removal of tasteless "fail0/fail1" labels.
-
Chas Williams authored
seq_file support for /proc/net/atm/lec: - lec_info(): seq_printf/seq_putc replaces sprintf; - traversal of the lec structure needs to walk: -> the lec interfaces -> the tables of arp tables(lec_arp_tables); -> the arp tables themselves -> the misc tables (lec_arp_empty_ones/lec_no_forward/mcast_fwds) Sum up of the call tree: atm_lec_seq_start()/atm_lec_seq_next() -> atm_lec_get_idx() -> atm_lec_itf_walk() (responsible for dev_lec/dev_put handling) -> atm_lec_priv_walk() (responsible for lec_priv locking) -> atm_lec_arp_walk() -> atm_lec_tbl_walk() -> atm_lec_misc_walk() -> atm_lec_tbl_walk() Each of the dedicated functions follows the same convention: return NULL as long as the seq_file cursor hasn't been digested (i.e. until < 0). Locking is only done when an entry (i.e. a lec_arp_table) is referenced. atm_lec_seq_stop()/atm_lec_itf_walk()/atm_lec_priv_walk() are responsible for getting this point right. - module refcounting is done in atm_lec_seq_open()/atm_lec_seq_release(); - atm_lec_info() is removed. Chas's suggestions applied since last version: - atm_seq_lec_fops renamed to lec_seq_fops; - change in state handling: it wasn't correctly set to its reset value after a complete interface walk; - lec_arp_get_status_string() bugfix.
-
Chas Williams authored
seq_file support for /proc/net/atm/arp: - svc_addr/atmarp_info(): seq_printf/seq_putc replace sprintf and friends; - arp_getidx/arp_vcc_walk() take care of the usual seq_file cursor positionning: they both return NULL until the cursor has reached its position. struct atm_arp_state is updated accordingly; - arp_seq_{stop/start} are responsible for clip_tbl_hook (un)locking; - module refcounting is done in arp_seq_open()/arp_seq_release(); - atm_lec_info() is removed. Chas's suggestions applied since last version: - atm_arp_xxx renamed to arp_xxx; - atm_seq_arp_fops renamed to arp_seq_fops. Chas didn't ask for it but I renamed arp_vc_walk to arp_vcc_walk.
-
Chas Williams authored
seq_file support for /proc/net/atm/vc: Same comments as for pvc and svc. Extra Chas's suggestion applied since last version: - atm_vc_xxx renamed to vcc_xxx.
-