Home
last modified time | relevance | path

Searched refs:llc_sap (Results 1 – 19 of 19) sorted by relevance

/linux/include/net/
H A Dllc_s_ac.h15 struct llc_sap;
30 typedef int (*llc_sap_action_t)(struct llc_sap *sap, struct sk_buff *skb);
32 int llc_sap_action_unitdata_ind(struct llc_sap *sap, struct sk_buff *skb);
33 int llc_sap_action_send_ui(struct llc_sap *sap, struct sk_buff *skb);
34 int llc_sap_action_send_xid_c(struct llc_sap *sap, struct sk_buff *skb);
35 int llc_sap_action_send_xid_r(struct llc_sap *sap, struct sk_buff *skb);
36 int llc_sap_action_send_test_c(struct llc_sap *sap, struct sk_buff *skb);
37 int llc_sap_action_send_test_r(struct llc_sap *sap, struct sk_buff *skb);
38 int llc_sap_action_report_status(struct llc_sap *sap, struct sk_buff *skb);
39 int llc_sap_action_xid_ind(struct llc_sap *sap, struct sk_buff *skb);
[all …]
H A Dllc_s_ev.h53 struct llc_sap;
55 typedef int (*llc_sap_ev_t)(struct llc_sap *sap, struct sk_buff *skb);
57 int llc_sap_ev_activation_req(struct llc_sap *sap, struct sk_buff *skb);
58 int llc_sap_ev_rx_ui(struct llc_sap *sap, struct sk_buff *skb);
59 int llc_sap_ev_unitdata_req(struct llc_sap *sap, struct sk_buff *skb);
60 int llc_sap_ev_xid_req(struct llc_sap *sap, struct sk_buff *skb);
61 int llc_sap_ev_rx_xid_c(struct llc_sap *sap, struct sk_buff *skb);
62 int llc_sap_ev_rx_xid_r(struct llc_sap *sap, struct sk_buff *skb);
63 int llc_sap_ev_test_req(struct llc_sap *sap, struct sk_buff *skb);
64 int llc_sap_ev_rx_test_c(struct llc_sap *sap, struct sk_buff *skb);
[all …]
H A Dllc.h54 struct llc_sap { struct
73 struct hlist_head *llc_sk_dev_hash(struct llc_sap *sap, int ifindex) in llc_sk_dev_hash() argument
81 u32 llc_sk_laddr_hashfn(struct llc_sap *sap, const struct llc_addr *laddr) in llc_sk_laddr_hashfn()
88 struct hlist_nulls_head *llc_sk_laddr_hash(struct llc_sap *sap, in llc_sk_laddr_hash()
107 void (*handler)(struct llc_sap *sap, struct sk_buff *skb));
112 struct llc_sap *llc_sap_open(unsigned char lsap,
117 static inline void llc_sap_hold(struct llc_sap *sap) in llc_sap_hold()
122 static inline bool llc_sap_hold_safe(struct llc_sap *sap) in llc_sap_hold_safe()
127 void llc_sap_close(struct llc_sap *sap);
129 static inline void llc_sap_put(struct llc_sap *sap) in llc_sap_put()
[all …]
H A Dllc_sap.h17 struct llc_sap;
22 void llc_sap_rtn_pdu(struct llc_sap *sap, struct sk_buff *skb);
28 void llc_build_and_send_test_pkt(struct llc_sap *sap, struct sk_buff *skb,
30 void llc_build_and_send_xid_pkt(struct llc_sap *sap, struct sk_buff *skb,
H A Dllc_conn.h37 struct llc_sap *sap; /* pointer to parent SAP */
113 struct sock *llc_lookup_established(struct llc_sap *sap, struct llc_addr *daddr,
115 void llc_sap_add_socket(struct llc_sap *sap, struct sock *sk);
116 void llc_sap_remove_socket(struct llc_sap *sap, struct sock *sk);
H A Ddatalink.h7 struct llc_sap;
15 struct llc_sap *sap;
/linux/net/llc/
H A Dllc_s_ev.c23 int llc_sap_ev_activation_req(struct llc_sap *sap, struct sk_buff *skb) in llc_sap_ev_activation_req()
31 int llc_sap_ev_rx_ui(struct llc_sap *sap, struct sk_buff *skb) in llc_sap_ev_rx_ui()
41 int llc_sap_ev_unitdata_req(struct llc_sap *sap, struct sk_buff *skb) in llc_sap_ev_unitdata_req()
51 int llc_sap_ev_xid_req(struct llc_sap *sap, struct sk_buff *skb) in llc_sap_ev_xid_req()
60 int llc_sap_ev_rx_xid_c(struct llc_sap *sap, struct sk_buff *skb) in llc_sap_ev_rx_xid_c()
70 int llc_sap_ev_rx_xid_r(struct llc_sap *sap, struct sk_buff *skb) in llc_sap_ev_rx_xid_r()
80 int llc_sap_ev_test_req(struct llc_sap *sap, struct sk_buff *skb) in llc_sap_ev_test_req()
89 int llc_sap_ev_rx_test_c(struct llc_sap *sap, struct sk_buff *skb) in llc_sap_ev_rx_test_c()
99 int llc_sap_ev_rx_test_r(struct llc_sap *sap, struct sk_buff *skb) in llc_sap_ev_rx_test_r()
109 int llc_sap_ev_deactivation_req(struct llc_sap *sap, struct sk_buff *skb) in llc_sap_ev_deactivation_req()
H A Dllc_core.c33 static struct llc_sap *llc_sap_alloc(void) in llc_sap_alloc()
35 struct llc_sap *sap = kzalloc(sizeof(*sap), GFP_ATOMIC); in llc_sap_alloc()
49 static struct llc_sap *__llc_sap_find(unsigned char sap_value) in __llc_sap_find()
51 struct llc_sap *sap; in __llc_sap_find()
70 struct llc_sap *llc_sap_find(unsigned char sap_value) in llc_sap_find()
72 struct llc_sap *sap; in llc_sap_find()
91 struct llc_sap *llc_sap_open(unsigned char lsap, in llc_sap_open()
97 struct llc_sap *sap = NULL; in llc_sap_open()
122 void llc_sap_close(struct llc_sap *sap) in llc_sap_close()
H A Dllc_s_ac.c37 int llc_sap_action_unitdata_ind(struct llc_sap *sap, struct sk_buff *skb) in llc_sap_action_unitdata_ind()
52 int llc_sap_action_send_ui(struct llc_sap *sap, struct sk_buff *skb) in llc_sap_action_send_ui()
77 int llc_sap_action_send_xid_c(struct llc_sap *sap, struct sk_buff *skb) in llc_sap_action_send_xid_c()
101 int llc_sap_action_send_xid_r(struct llc_sap *sap, struct sk_buff *skb) in llc_sap_action_send_xid_r()
133 int llc_sap_action_send_test_c(struct llc_sap *sap, struct sk_buff *skb) in llc_sap_action_send_test_c()
149 int llc_sap_action_send_test_r(struct llc_sap *sap, struct sk_buff *skb) in llc_sap_action_send_test_r()
186 int llc_sap_action_report_status(struct llc_sap *sap, struct sk_buff *skb) in llc_sap_action_report_status()
199 int llc_sap_action_xid_ind(struct llc_sap *sap, struct sk_buff *skb) in llc_sap_action_xid_ind()
213 int llc_sap_action_test_ind(struct llc_sap *sap, struct sk_buff *skb) in llc_sap_action_test_ind()
H A Dllc_sap.c92 void llc_sap_rtn_pdu(struct llc_sap *sap, struct sk_buff *skb) in llc_sap_rtn_pdu()
117 static const struct llc_sap_state_trans *llc_find_sap_trans(struct llc_sap *sap, in llc_find_sap_trans()
145 static int llc_exec_sap_trans_actions(struct llc_sap *sap, in llc_exec_sap_trans_actions()
167 static int llc_sap_next_state(struct llc_sap *sap, struct sk_buff *skb) in llc_sap_next_state()
204 static void llc_sap_state_process(struct llc_sap *sap, struct sk_buff *skb) in llc_sap_state_process()
231 void llc_build_and_send_test_pkt(struct llc_sap *sap, in llc_build_and_send_test_pkt()
257 void llc_build_and_send_xid_pkt(struct llc_sap *sap, struct sk_buff *skb, in llc_build_and_send_xid_pkt()
281 static void llc_sap_rcv(struct llc_sap *sap, struct sk_buff *skb, in llc_sap_rcv()
295 static inline bool llc_dgram_match(const struct llc_sap *sap, in llc_dgram_match()
317 static struct sock *llc_lookup_dgram(struct llc_sap *sap, in llc_lookup_dgram()
[all …]
H A Dllc_c_ac.c205 struct llc_sap *sap = llc->sap; in llc_conn_ac_send_disc_cmd_p_set_x()
230 struct llc_sap *sap = llc->sap; in llc_conn_ac_send_dm_rsp_f_set_p()
256 struct llc_sap *sap = llc->sap; in llc_conn_ac_send_dm_rsp_f_set_1()
289 struct llc_sap *sap = llc->sap; in llc_conn_ac_send_frmr_rsp_f_set_x()
315 struct llc_sap *sap = llc->sap; in llc_conn_ac_resend_frmr_rsp_f_set_0()
345 struct llc_sap *sap = llc->sap; in llc_conn_ac_resend_frmr_rsp_f_set_p()
368 struct llc_sap *sap = llc->sap; in llc_conn_ac_send_i_cmd_p_set_1()
386 struct llc_sap *sap = llc->sap; in llc_conn_ac_send_i_cmd_p_set_0()
404 struct llc_sap *sap = llc->sap; in llc_conn_ac_send_i_xxx_x_set_0()
437 struct llc_sap *sap = llc->sap; in llc_conn_ac_resend_i_xxx_x_set_0_or_send_rr()
[all …]
H A Dllc_input.c39 static void (*llc_type_handlers[2])(struct llc_sap *sap,
42 void llc_add_pack(int type, void (*handler)(struct llc_sap *sap, in llc_add_pack()
164 struct llc_sap *sap; in llc_rcv()
170 void (*sap_handler)(struct llc_sap *sap, struct sk_buff *skb); in llc_rcv()
H A Dllc_proc.c36 struct llc_sap *sap; in llc_get_sk_idx()
67 static struct sock *laddr_hash_next(struct llc_sap *sap, int bucket) in laddr_hash_next()
84 struct llc_sap *sap; in llc_seq_next()
119 struct llc_sap *sap = llc->sap; in llc_seq_stop()
H A Dllc_conn.c454 static inline bool llc_estab_match(const struct llc_sap *sap, in llc_estab_match()
481 static struct sock *__llc_lookup_established(struct llc_sap *sap, in __llc_lookup_established()
519 struct sock *llc_lookup_established(struct llc_sap *sap, in llc_lookup_established()
532 static inline bool llc_listener_match(const struct llc_sap *sap, in llc_listener_match()
545 static struct sock *__llc_lookup_listener(struct llc_sap *sap, in __llc_lookup_listener()
593 static struct sock *llc_lookup_listener(struct llc_sap *sap, in llc_lookup_listener()
606 static struct sock *__llc_lookup(struct llc_sap *sap, in __llc_lookup()
706 void llc_sap_add_socket(struct llc_sap *sap, struct sock *sk) in llc_sap_add_socket()
731 void llc_sap_remove_socket(struct llc_sap *sap, struct sock *sk) in llc_sap_remove_socket()
781 void llc_conn_handler(struct llc_sap *sap, struct sk_buff *skb) in llc_conn_handler()
H A DMakefile22 llc_sap.o llc_s_ac.o llc_s_ev.o llc_s_st.o af_llc.o llc_station.o
H A Dllc_output.c58 int llc_build_and_send_ui_pkt(struct llc_sap *sap, struct sk_buff *skb, in llc_build_and_send_ui_pkt()
H A Daf_llc.c215 struct llc_sap *sap = llc->sap; in llc_ui_release()
245 struct llc_sap *sap; in llc_ui_autoport()
281 struct llc_sap *sap; in llc_ui_autobind()
346 struct llc_sap *sap; in llc_ui_bind()
/linux/net/802/
H A Dstp.c25 static struct llc_sap *sap __read_mostly;
H A Dpsnap.c24 static struct llc_sap *snap_sap;