/linux-5.19.10/include/net/ |
D | llc_s_ev.h | 52 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 …]
|
D | llc_s_ac.h | 26 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);
|
D | llc.h | 54 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 …]
|
D | llc_sap.h | 17 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,
|
D | llc_conn.h | 37 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);
|
D | datalink.h | 8 struct llc_sap *sap;
|
/linux-5.19.10/net/llc/ |
D | llc_s_ev.c | 23 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()
|
D | llc_core.c | 33 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()
|
D | llc_s_ac.c | 37 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()
|
D | llc_sap.c | 92 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 …]
|
D | llc_c_ac.c | 205 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 …]
|
D | llc_input.c | 39 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()
|
D | llc_proc.c | 36 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()
|
D | llc_conn.c | 453 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()
|
D | Makefile | 22 llc_sap.o llc_s_ac.o llc_s_ev.o llc_s_st.o af_llc.o llc_station.o
|
D | llc_output.c | 58 int llc_build_and_send_ui_pkt(struct llc_sap *sap, struct sk_buff *skb, in llc_build_and_send_ui_pkt()
|
D | af_llc.c | 215 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/ |
D | stp.c | 25 static struct llc_sap *sap __read_mostly;
|
D | psnap.c | 24 static struct llc_sap *snap_sap;
|