Home
last modified time | relevance | path

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

/linux-4.1.27/include/net/
Dllc_s_ev.h52 struct llc_sap;
54 typedef int (*llc_sap_ev_t)(struct llc_sap *sap, struct sk_buff *skb);
56 int llc_sap_ev_activation_req(struct llc_sap *sap, struct sk_buff *skb);
57 int llc_sap_ev_rx_ui(struct llc_sap *sap, struct sk_buff *skb);
58 int llc_sap_ev_unitdata_req(struct llc_sap *sap, struct sk_buff *skb);
59 int llc_sap_ev_xid_req(struct llc_sap *sap, struct sk_buff *skb);
60 int llc_sap_ev_rx_xid_c(struct llc_sap *sap, struct sk_buff *skb);
61 int llc_sap_ev_rx_xid_r(struct llc_sap *sap, struct sk_buff *skb);
62 int llc_sap_ev_test_req(struct llc_sap *sap, struct sk_buff *skb);
63 int llc_sap_ev_rx_test_c(struct llc_sap *sap, struct sk_buff *skb);
[all …]
Dllc_s_ac.h26 typedef int (*llc_sap_action_t)(struct llc_sap *sap, struct sk_buff *skb);
28 int llc_sap_action_unitdata_ind(struct llc_sap *sap, struct sk_buff *skb);
29 int llc_sap_action_send_ui(struct llc_sap *sap, struct sk_buff *skb);
30 int llc_sap_action_send_xid_c(struct llc_sap *sap, struct sk_buff *skb);
31 int llc_sap_action_send_xid_r(struct llc_sap *sap, struct sk_buff *skb);
32 int llc_sap_action_send_test_c(struct llc_sap *sap, struct sk_buff *skb);
33 int llc_sap_action_send_test_r(struct llc_sap *sap, struct sk_buff *skb);
34 int llc_sap_action_report_status(struct llc_sap *sap, struct sk_buff *skb);
35 int llc_sap_action_xid_ind(struct llc_sap *sap, struct sk_buff *skb);
36 int llc_sap_action_test_ind(struct llc_sap *sap, struct sk_buff *skb);
Dllc.h54 struct llc_sap { struct
72 struct hlist_head *llc_sk_dev_hash(struct llc_sap *sap, int ifindex) in llc_sk_dev_hash() argument
78 u32 llc_sk_laddr_hashfn(struct llc_sap *sap, const struct llc_addr *laddr) in llc_sk_laddr_hashfn()
85 struct hlist_nulls_head *llc_sk_laddr_hash(struct llc_sap *sap, in llc_sk_laddr_hash()
104 void (*handler)(struct llc_sap *sap, struct sk_buff *skb));
109 struct llc_sap *llc_sap_open(unsigned char lsap,
114 static inline void llc_sap_hold(struct llc_sap *sap) in llc_sap_hold()
119 void llc_sap_close(struct llc_sap *sap);
121 static inline void llc_sap_put(struct llc_sap *sap) in llc_sap_put()
127 struct llc_sap *llc_sap_find(unsigned char sap_value);
[all …]
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,
Dllc_conn.h37 struct llc_sap *sap; /* pointer to parent SAP */
111 struct sock *llc_lookup_established(struct llc_sap *sap, struct llc_addr *daddr,
113 void llc_sap_add_socket(struct llc_sap *sap, struct sock *sk);
114 void llc_sap_remove_socket(struct llc_sap *sap, struct sock *sk);
Ddatalink.h7 struct llc_sap *sap;
/linux-4.1.27/net/llc/
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()
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()
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()
75 int llc_sap_action_send_xid_c(struct llc_sap *sap, struct sk_buff *skb) in llc_sap_action_send_xid_c()
97 int llc_sap_action_send_xid_r(struct llc_sap *sap, struct sk_buff *skb) in llc_sap_action_send_xid_r()
129 int llc_sap_action_send_test_c(struct llc_sap *sap, struct sk_buff *skb) in llc_sap_action_send_test_c()
143 int llc_sap_action_send_test_r(struct llc_sap *sap, struct sk_buff *skb) in llc_sap_action_send_test_r()
177 int llc_sap_action_report_status(struct llc_sap *sap, struct sk_buff *skb) in llc_sap_action_report_status()
190 int llc_sap_action_xid_ind(struct llc_sap *sap, struct sk_buff *skb) in llc_sap_action_xid_ind()
204 int llc_sap_action_test_ind(struct llc_sap *sap, struct sk_buff *skb) in llc_sap_action_test_ind()
Dllc_sap.c91 void llc_sap_rtn_pdu(struct llc_sap *sap, struct sk_buff *skb) in llc_sap_rtn_pdu()
116 static struct llc_sap_state_trans *llc_find_sap_trans(struct llc_sap *sap, in llc_find_sap_trans()
144 static int llc_exec_sap_trans_actions(struct llc_sap *sap, in llc_exec_sap_trans_actions()
166 static int llc_sap_next_state(struct llc_sap *sap, struct sk_buff *skb) in llc_sap_next_state()
201 static void llc_sap_state_process(struct llc_sap *sap, struct sk_buff *skb) in llc_sap_state_process()
237 void llc_build_and_send_test_pkt(struct llc_sap *sap, in llc_build_and_send_test_pkt()
263 void llc_build_and_send_xid_pkt(struct llc_sap *sap, struct sk_buff *skb, in llc_build_and_send_xid_pkt()
286 static void llc_sap_rcv(struct llc_sap *sap, struct sk_buff *skb, in llc_sap_rcv()
297 static inline bool llc_dgram_match(const struct llc_sap *sap, in llc_dgram_match()
316 static struct sock *llc_lookup_dgram(struct llc_sap *sap, in llc_lookup_dgram()
[all …]
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()
385 struct llc_sap *sap = llc->sap; in llc_conn_ac_send_i_cmd_p_set_0()
402 struct llc_sap *sap = llc->sap; in llc_conn_ac_send_i_xxx_x_set_0()
434 struct llc_sap *sap = llc->sap; in llc_conn_ac_resend_i_xxx_x_set_0_or_send_rr()
[all …]
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()
157 struct llc_sap *sap; in llc_rcv()
163 void (*sap_handler)(struct llc_sap *sap, struct sk_buff *skb); in llc_rcv()
Dllc_conn.c472 static inline bool llc_estab_match(const struct llc_sap *sap, in llc_estab_match()
496 static struct sock *__llc_lookup_established(struct llc_sap *sap, in __llc_lookup_established()
533 struct sock *llc_lookup_established(struct llc_sap *sap, in llc_lookup_established()
545 static inline bool llc_listener_match(const struct llc_sap *sap, in llc_listener_match()
556 static struct sock *__llc_lookup_listener(struct llc_sap *sap, in __llc_lookup_listener()
602 static struct sock *llc_lookup_listener(struct llc_sap *sap, in llc_lookup_listener()
614 static struct sock *__llc_lookup(struct llc_sap *sap, in __llc_lookup()
713 void llc_sap_add_socket(struct llc_sap *sap, struct sock *sk) in llc_sap_add_socket()
737 void llc_sap_remove_socket(struct llc_sap *sap, struct sock *sk) in llc_sap_remove_socket()
787 void llc_conn_handler(struct llc_sap *sap, struct sk_buff *skb) in llc_conn_handler()
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()
DMakefile22 llc_sap.o llc_s_ac.o llc_s_ev.o llc_s_st.o af_llc.o llc_station.o
Dllc_output.c65 int llc_build_and_send_ui_pkt(struct llc_sap *sap, struct sk_buff *skb, in llc_build_and_send_ui_pkt()
Daf_llc.c220 struct llc_sap *sap; in llc_ui_autoport()
255 struct llc_sap *sap; in llc_ui_autobind()
308 struct llc_sap *sap; in llc_ui_bind()
/linux-4.1.27/net/802/
Dstp.c28 static struct llc_sap *sap __read_mostly;
Dpsnap.c28 static struct llc_sap *snap_sap;