• Arnaldo Carvalho de Melo's avatar
    [LLC] remove all tmr ev structs & fix psnap and p8022 wrt ui sending · ad2bce43
    Arnaldo Carvalho de Melo authored
    . No need for the timer_running member on llc_timer,
      we only need it in one place, and timer_pending is
      equivalent. One more procom OS generalisation killed.
    . Move the skb->protocol assignment in llc_build_and_send_pkt
      routines and llc_ui_send_data to the caller, this is the common
      practice in Linux networking code (think netif_rx) and required
      to keep the request functions in psnap and p8022 simple.
    . Remove the rpt_status (report status) ev members, not
      used at all, not even in the original procom code.
    . Convert psnap and p8022 request functions to use
      llc_ui_build_and_send_ui_pkt, removing all the prim cruft.
    ad2bce43
llc_conn.h 3.83 KB