Home
last modified time | relevance | path

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

/linux-5.19.10/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
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 …]
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 */
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);
Ddatalink.h8 struct llc_sap *sap;
/linux-5.19.10/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()
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()
183 int llc_sap_action_report_status(struct llc_sap *sap, struct sk_buff *skb) in llc_sap_action_report_status()
196 int llc_sap_action_xid_ind(struct llc_sap *sap, struct sk_buff *skb) in llc_sap_action_xid_ind()
210 int llc_sap_action_test_ind(struct llc_sap *sap, struct sk_buff *skb) in llc_sap_action_test_ind()
Dllc_sap.c92 void llc_sap_rtn_pdu(struct llc_sap *sap, struct sk_buff *skb) in llc_sap_rtn_pdu()
117 static 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()
314 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()
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 …]
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()
158 struct llc_sap *sap; in llc_rcv()
164 void (*sap_handler)(struct llc_sap *sap, struct sk_buff *skb); in llc_rcv()
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()
Dllc_conn.c453 static inline bool llc_estab_match(const struct llc_sap *sap, in llc_estab_match()
477 static struct sock *__llc_lookup_established(struct llc_sap *sap, in __llc_lookup_established()
514 struct sock *llc_lookup_established(struct llc_sap *sap, in llc_lookup_established()
526 static inline bool llc_listener_match(const struct llc_sap *sap, in llc_listener_match()
537 static struct sock *__llc_lookup_listener(struct llc_sap *sap, in __llc_lookup_listener()
583 static struct sock *llc_lookup_listener(struct llc_sap *sap, in llc_lookup_listener()
595 static struct sock *__llc_lookup(struct llc_sap *sap, in __llc_lookup()
694 void llc_sap_add_socket(struct llc_sap *sap, struct sock *sk) in llc_sap_add_socket()
719 void llc_sap_remove_socket(struct llc_sap *sap, struct sock *sk) in llc_sap_remove_socket()
769 void llc_conn_handler(struct llc_sap *sap, struct sk_buff *skb) in llc_conn_handler()
DMakefile22 llc_sap.o llc_s_ac.o llc_s_ev.o llc_s_st.o af_llc.o llc_station.o
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()
Daf_llc.c215 struct llc_sap *sap = llc->sap; in llc_ui_release()
243 struct llc_sap *sap; in llc_ui_autoport()
279 struct llc_sap *sap; in llc_ui_autobind()
344 struct llc_sap *sap; in llc_ui_bind()
/linux-5.19.10/net/802/
Dstp.c25 static struct llc_sap *sap __read_mostly;
Dpsnap.c24 static struct llc_sap *snap_sap;