An error occurred fetching the project authors.
  1. 30 Sep, 2002 2 commits
  2. 27 Sep, 2002 1 commit
  3. 25 Sep, 2002 2 commits
  4. 24 Sep, 2002 3 commits
    • Arnaldo Carvalho de Melo's avatar
      [LLC] use struct sock list members · 97ef8f8c
      Arnaldo Carvalho de Melo authored
      Now that we don't have anymore the double sock (PF_LLC + core) we can
      use struct sock list members.
      
      Also use use rw locks instead of spinlocks in some places.
      97ef8f8c
    • Arnaldo Carvalho de Melo's avatar
      [LLC] clean up the ui sending routines and core · 9950c8fe
      Arnaldo Carvalho de Melo authored
      OK, now I managed to kill the last remnants of bloated structs from
      LLC, I feel better now :)
      
      Also deleted include/net/llc_{frame,name,state}.h, remnants of the
      old LLC stack still in the tree.
      9950c8fe
    • Arnaldo Carvalho de Melo's avatar
      [LLC] kill sap->{ind,conf}, finally! · 71d24cc6
      Arnaldo Carvalho de Melo authored
      With this one the sap->ind and ->conf callbacks are gone, now the core
      is tightly integrated with the socket layer (PF_LLC) and the
      datalink_protos are mostly working like when the old LLC stack was
      in the kernel, i.e. without special receiving routines for IPX in
      802.2 mode, now I have to work on the UI sending routines to kill more
      stupid structs. 
      71d24cc6
  5. 22 Sep, 2002 1 commit
  6. 18 Sep, 2002 1 commit
  7. 12 Sep, 2002 1 commit
  8. 11 Sep, 2002 4 commits
    • Arnaldo Carvalho de Melo's avatar
      [LLC] use just one struct sock per connection · 269f04b7
      Arnaldo Carvalho de Melo authored
      With this PF_LLC is tightly integrated with the core and that is a
      good thing 8)
      
      . kill llc_ui_opt, the only non-duplicated bit is struct sockaddr_llc
        and this now lives in llc_opt
      . remove debug code from llc_sk_alloc/free (previously llc_sock_alloc/free)
      . the skbs allocated for event processing don't need to have any payload
        at all, just the skb->cb is enough, so remove the bogus 1 from alloc_skb
        calls
      . llc_conn_disc put on death row
      . llc_process_tmr_ev callers have to hold the socket lock
      . the request functions in llc_if.c doesn't hold the socket lock anymore
        its up to its callers on the socket layer (llc_sock.c)
      . llc_sk_alloc now receives a priority for sk_alloc call and is the
        only way to alloc a new sock (from llc_mac and llc_sock, bottom and top)
      . added the traditional struct sock REFCNT_DEBUG support for llc
      . llc_sock was simplified and is on the zen route to cleanliness, wait for
        the next patches, it'll shrink a lot when I zap all the crap (as in
        not needed) list handling, using the existing list maintained in
        struct llc_sap for that, probably splitting it in two, one for listening
        sockets and other for (being) established ones.  Ah, and the sap->ind
        and sap->req and friends will die.
      269f04b7
    • Arnaldo Carvalho de Melo's avatar
    • Arnaldo Carvalho de Melo's avatar
      LLC: tcpfying the beast · a7f3da32
      Arnaldo Carvalho de Melo authored
      . s/mac_indicate/llc_rcv/g
      . s/llc_sap_send_ev/llc_sap_state_process/g
      . s/llc_station_send_ev/llc_station_state_process/g
      . s/llc_conn_send_ev/llc_conn_state_process/g
      . fix some comments wrt current behaviour
      . s/llc_find_sock/llc_lookup_established/g
      . llc_sock_alloc now receives the protocol family as a
        parameter, will be used by llc_lookup_listener to
        properly handle multiple upper layer protocols
      . s/inline/__inline__/g
      a7f3da32
    • Arnaldo Carvalho de Melo's avatar
      LLC: small cleanups, leave debug on for a while · b0d8626b
      Arnaldo Carvalho de Melo authored
      . dprintk already puts the log level
      . fix some comments to match new behaviour
      b0d8626b
  9. 14 Aug, 2002 1 commit
    • Arnaldo Carvalho de Melo's avatar
      LLC: use skb->cb to store the LLC events · c1d567a8
      Arnaldo Carvalho de Melo authored
      . this allows us to kill the shorlived kmalloc/kfree for events in the fast path.
      . because of this there is no need for the skb member in the event structs
      . use more labeled elements in the transition tables
      . simplify llc_sock proc routine
      . more kernedoc style comments
      . 
      . remove unused defines in llc_main.h
      
      . create llc_set_backlog_type and llc_backlog_type
      . 
      c1d567a8
  10. 08 Aug, 2002 1 commit
    • Arnaldo Carvalho de Melo's avatar
      LLC: Remove global variables used in confirms and indications · 9a1d0278
      Arnaldo Carvalho de Melo authored
      . moved the global variables llc_ind_prim and llc_cfm_prim
        to struct llc_sap, to make the code reentrant
      . one kerneldoc comment for a struct
      . created llc_pdu_{s,u}n_hdr and llc_set_pdu_hdr to abstract
        access to skb internals (skb->nh.raw)
      . renamed llc_get_llc_hdr_length to llc_get_hdr_len and simplify it
      . killed some uneeded variables in llc_sap_send_ev
      9a1d0278
  11. 06 Aug, 2002 2 commits
  12. 02 Aug, 2002 1 commit
  13. 30 May, 2002 1 commit
    • Arnaldo Carvalho de Melo's avatar
      net/llc/*.c · 34beb106
      Arnaldo Carvalho de Melo authored
      Forward port of LLC from 2.4 to 2.5. This is the forward port of the LLC stack
      released by Procom Inc. for Linux 2.0.30, I have heavily modified it to make
      it similar to other Linux network stacks, using of struct sk_buff to represent
      in-transit packets and doing massive code cleanups.
      
      Jay Schullist contributed support for BSD Sockets, as the original code had
      only a simple in kernel API for use by upper layer protocols, such as the
      NetBEUI stack also provided by Procom for 2.0.30.
      
      This code is basically what I had previously submitted to Alan Cox for his
      2.4-ac series and that is even shipped in source form, in the Red Hat 7.3
      kernel package, plus cleanups wrt standard syntax for labeled elements and
      further use of this C construct to make the code more resilient to editing
      mistakes, using the compiler to further check the source code.
      
      TODO:
      
      Make it completely SMP safe, as the reports of successful usage up to now and
      the testing is done on UP.
      
      Completely remove the old LLC code in the kernel, that is still there for things
      like Appletalk, IPX, etc to use, also check that all these protocols work
      correctly with this new LLC stack.
      
      This code is already being used in the linux-sna project and Jay Schullist
      has been developing support for things like DLSw and other protocols that works
      on top of 802.2.
      
      I'll be releasing patches with the NetBEUI stack and updated samba-2.0.6 patches
      for use with NetBEUI and this LLC stack in the future. But the NetBEUI code
      is available already in my kernel.org ftp area at:
      
      ftp://ftp.kernel.org/pub/linux/kernel/people/acme.
      
      Please report problems to me or the linux-sna mailing list, instructions on how
      to subscribe are available at http://www.linux-sna.org website.
      34beb106