Home
last modified time | relevance | path

Searched refs:sk_buff (Results 1 – 25 of 2028) sorted by relevance

12345678910>>...82

/linux-3.4.99/include/net/
Dllc_c_ev.h123 static __inline__ struct llc_conn_state_ev *llc_conn_ev(struct sk_buff *skb) in llc_conn_ev()
128 typedef int (*llc_conn_ev_t)(struct sock *sk, struct sk_buff *skb);
129 typedef int (*llc_conn_ev_qfyr_t)(struct sock *sk, struct sk_buff *skb);
131 extern int llc_conn_ev_conn_req(struct sock *sk, struct sk_buff *skb);
132 extern int llc_conn_ev_data_req(struct sock *sk, struct sk_buff *skb);
133 extern int llc_conn_ev_disc_req(struct sock *sk, struct sk_buff *skb);
134 extern int llc_conn_ev_rst_req(struct sock *sk, struct sk_buff *skb);
136 struct sk_buff *skb);
137 extern int llc_conn_ev_local_busy_cleared(struct sock *sk, struct sk_buff *skb);
138 extern int llc_conn_ev_rx_bad_pdu(struct sock *sk, struct sk_buff *skb);
[all …]
Dllc_c_ac.h90 typedef int (*llc_conn_action_t)(struct sock *sk, struct sk_buff *skb);
92 extern int llc_conn_ac_clear_remote_busy(struct sock *sk, struct sk_buff *skb);
93 extern int llc_conn_ac_conn_ind(struct sock *sk, struct sk_buff *skb);
94 extern int llc_conn_ac_conn_confirm(struct sock* sk, struct sk_buff *skb);
95 extern int llc_conn_ac_data_ind(struct sock* sk, struct sk_buff *skb);
96 extern int llc_conn_ac_disc_ind(struct sock* sk, struct sk_buff *skb);
97 extern int llc_conn_ac_rst_ind(struct sock* sk, struct sk_buff *skb);
98 extern int llc_conn_ac_rst_confirm(struct sock* sk, struct sk_buff *skb);
100 struct sk_buff *skb);
102 struct sk_buff *skb);
[all …]
Dprotocol.h37 int (*handler)(struct sk_buff *skb);
38 void (*err_handler)(struct sk_buff *skb, u32 info);
39 int (*gso_send_check)(struct sk_buff *skb);
40 struct sk_buff *(*gso_segment)(struct sk_buff *skb,
42 struct sk_buff **(*gro_receive)(struct sk_buff **head,
43 struct sk_buff *skb);
44 int (*gro_complete)(struct sk_buff *skb);
51 int (*handler)(struct sk_buff *skb);
53 void (*err_handler)(struct sk_buff *skb,
58 int (*gso_send_check)(struct sk_buff *skb);
[all …]
Dllc_s_ev.h47 static __inline__ struct llc_sap_state_ev *llc_sap_ev(struct sk_buff *skb) in llc_sap_ev()
54 typedef int (*llc_sap_ev_t)(struct llc_sap *sap, struct sk_buff *skb);
56 extern int llc_sap_ev_activation_req(struct llc_sap *sap, struct sk_buff *skb);
57 extern int llc_sap_ev_rx_ui(struct llc_sap *sap, struct sk_buff *skb);
58 extern int llc_sap_ev_unitdata_req(struct llc_sap *sap, struct sk_buff *skb);
59 extern int llc_sap_ev_xid_req(struct llc_sap *sap, struct sk_buff *skb);
60 extern int llc_sap_ev_rx_xid_c(struct llc_sap *sap, struct sk_buff *skb);
61 extern int llc_sap_ev_rx_xid_r(struct llc_sap *sap, struct sk_buff *skb);
62 extern int llc_sap_ev_test_req(struct llc_sap *sap, struct sk_buff *skb);
63 extern int llc_sap_ev_rx_test_c(struct llc_sap *sap, struct sk_buff *skb);
[all …]
Dip.h47 static inline unsigned int ip_hdrlen(const struct sk_buff *skb) in ip_hdrlen()
93 extern int ip_build_and_send_pkt(struct sk_buff *skb, struct sock *sk,
96 extern int ip_rcv(struct sk_buff *skb, struct net_device *dev,
98 extern int ip_local_deliver(struct sk_buff *skb);
99 extern int ip_mr_input(struct sk_buff *skb);
100 extern int ip_output(struct sk_buff *skb);
101 extern int ip_mc_output(struct sk_buff *skb);
102 extern int ip_fragment(struct sk_buff *skb, int (*output)(struct sk_buff *));
103 extern int ip_do_nat(struct sk_buff *skb);
105 extern int __ip_local_out(struct sk_buff *skb);
[all …]
Dllc_s_ac.h26 typedef int (*llc_sap_action_t)(struct llc_sap *sap, struct sk_buff *skb);
29 struct sk_buff *skb);
30 extern int llc_sap_action_send_ui(struct llc_sap *sap, struct sk_buff *skb);
31 extern int llc_sap_action_send_xid_c(struct llc_sap *sap, struct sk_buff *skb);
32 extern int llc_sap_action_send_xid_r(struct llc_sap *sap, struct sk_buff *skb);
33 extern int llc_sap_action_send_test_c(struct llc_sap *sap, struct sk_buff *skb);
34 extern int llc_sap_action_send_test_r(struct llc_sap *sap, struct sk_buff *skb);
36 struct sk_buff *skb);
37 extern int llc_sap_action_xid_ind(struct llc_sap *sap, struct sk_buff *skb);
38 extern int llc_sap_action_test_ind(struct llc_sap *sap, struct sk_buff *skb);
Dsch_generic.h46 int (*enqueue)(struct sk_buff *skb, struct Qdisc *dev);
47 struct sk_buff * (*dequeue)(struct Qdisc *dev);
62 int (*reshape_fail)(struct sk_buff *skb,
74 struct sk_buff *gso_skb;
145 struct sk_buff *skb, struct tcmsg*);
156 int (*enqueue)(struct sk_buff *, struct Qdisc *);
157 struct sk_buff * (*dequeue)(struct Qdisc *);
158 struct sk_buff * (*peek)(struct Qdisc *);
167 int (*dump)(struct Qdisc *, struct sk_buff *);
183 int (*classify)(struct sk_buff *,
[all …]
Dllc_pdu.h204 static inline struct llc_pdu_sn *llc_pdu_sn_hdr(struct sk_buff *skb) in llc_pdu_sn_hdr()
216 static inline struct llc_pdu_un *llc_pdu_un_hdr(struct sk_buff *skb) in llc_pdu_un_hdr()
231 static inline void llc_pdu_header_init(struct sk_buff *skb, u8 type, in llc_pdu_header_init()
252 static inline void llc_pdu_decode_sa(struct sk_buff *skb, u8 *sa) in llc_pdu_decode_sa()
269 static inline void llc_pdu_decode_da(struct sk_buff *skb, u8 *da) in llc_pdu_decode_da()
285 static inline void llc_pdu_decode_ssap(struct sk_buff *skb, u8 *ssap) in llc_pdu_decode_ssap()
298 static inline void llc_pdu_decode_dsap(struct sk_buff *skb, u8 *dsap) in llc_pdu_decode_dsap()
309 static inline void llc_pdu_init_as_ui_cmd(struct sk_buff *skb) in llc_pdu_init_as_ui_cmd()
323 static inline void llc_pdu_init_as_test_cmd(struct sk_buff *skb) in llc_pdu_init_as_test_cmd()
339 static inline void llc_pdu_init_as_test_rsp(struct sk_buff *skb, in llc_pdu_init_as_test_rsp()
[all …]
Dtcp.h324 extern void tcp_v4_err(struct sk_buff *skb, u32);
328 extern int tcp_v4_rcv(struct sk_buff *skb);
338 extern int tcp_rcv_state_process(struct sock *sk, struct sk_buff *skb,
340 extern int tcp_rcv_established(struct sock *sk, struct sk_buff *skb,
386 struct sk_buff *skb,
388 extern struct sock * tcp_check_req(struct sock *sk,struct sk_buff *skb,
392 struct sk_buff *skb);
413 extern void tcp_parse_options(const struct sk_buff *skb,
422 extern void tcp_v4_send_check(struct sock *sk, struct sk_buff *skb);
423 extern int tcp_v4_conn_request(struct sock *sk, struct sk_buff *skb);
[all …]
/linux-3.4.99/include/linux/
Dskbuff.h53 SKB_DATA_ALIGN(sizeof(struct sk_buff)) + \
130 struct sk_buff *next;
131 struct sk_buff *prev;
137 struct sk_buff;
257 struct sk_buff *frag_list;
388 struct sk_buff { struct
390 struct sk_buff *next; argument
391 struct sk_buff *prev; argument
436 void (*destructor)(struct sk_buff *skb); argument
441 struct sk_buff *nfct_reasm; argument
[all …]
Dnetfilter.h102 struct sk_buff;
105 struct sk_buff *skb,
108 int (*okfn)(struct sk_buff *));
183 int nf_hook_slow(u_int8_t pf, unsigned int hook, struct sk_buff *skb,
185 int (*okfn)(struct sk_buff *), int thresh);
195 struct sk_buff *skb, in nf_hook_thresh()
198 int (*okfn)(struct sk_buff *), int thresh) in nf_hook_thresh() argument
205 static inline int nf_hook(u_int8_t pf, unsigned int hook, struct sk_buff *skb, in nf_hook()
207 int (*okfn)(struct sk_buff *)) in nf_hook() argument
230 NF_HOOK_THRESH(uint8_t pf, unsigned int hook, struct sk_buff *skb, in NF_HOOK_THRESH()
[all …]
Dif_vlan.h62 static inline struct vlan_ethhdr *vlan_eth_hdr(const struct sk_buff *skb) in vlan_eth_hdr()
96 extern bool vlan_do_receive(struct sk_buff **skb);
97 extern struct sk_buff *vlan_untag(struct sk_buff *skb);
125 static inline bool vlan_do_receive(struct sk_buff **skb) in vlan_do_receive()
130 static inline struct sk_buff *vlan_untag(struct sk_buff *skb) in vlan_untag()
169 static inline struct sk_buff *vlan_insert_tag(struct sk_buff *skb, u16 vlan_tci) in vlan_insert_tag()
203 static inline struct sk_buff *__vlan_put_tag(struct sk_buff *skb, u16 vlan_tci) in __vlan_put_tag()
218 static inline struct sk_buff *__vlan_hwaccel_put_tag(struct sk_buff *skb, in __vlan_hwaccel_put_tag()
235 static inline struct sk_buff *vlan_put_tag(struct sk_buff *skb, u16 vlan_tci) in vlan_put_tag()
251 static inline int __vlan_get_tag(const struct sk_buff *skb, u16 *vlan_tci) in __vlan_get_tag()
[all …]
/linux-3.4.99/drivers/isdn/pcbit/
Dcapi.h23 extern int capi_conn_req(const char *calledPN, struct sk_buff **buf,
25 extern int capi_decode_conn_conf(struct pcbit_chan *chan, struct sk_buff *skb,
28 extern int capi_decode_conn_ind(struct pcbit_chan *chan, struct sk_buff *skb,
30 extern int capi_conn_resp(struct pcbit_chan *chan, struct sk_buff **skb);
32 extern int capi_conn_active_req(struct pcbit_chan *chan, struct sk_buff **skb);
34 struct sk_buff *skb);
37 struct sk_buff *skb);
39 struct sk_buff **skb);
42 extern int capi_select_proto_req(struct pcbit_chan *chan, struct sk_buff **skb,
45 struct sk_buff *skb);
[all …]
/linux-3.4.99/net/irda/
Diriap_event.c35 struct sk_buff *skb);
37 struct sk_buff *skb);
39 struct sk_buff *skb);
42 struct sk_buff *skb);
44 struct sk_buff *skb);
46 struct sk_buff *skb);
48 struct sk_buff *skb);
50 struct sk_buff *skb);
52 struct sk_buff *skb);
55 struct sk_buff *skb);
[all …]
/linux-3.4.99/net/llc/
Dllc_c_ev.c78 struct sk_buff *skb; in llc_util_nr_inside_tx_window()
99 int llc_conn_ev_conn_req(struct sock *sk, struct sk_buff *skb) in llc_conn_ev_conn_req()
107 int llc_conn_ev_data_req(struct sock *sk, struct sk_buff *skb) in llc_conn_ev_data_req()
115 int llc_conn_ev_disc_req(struct sock *sk, struct sk_buff *skb) in llc_conn_ev_disc_req()
123 int llc_conn_ev_rst_req(struct sock *sk, struct sk_buff *skb) in llc_conn_ev_rst_req()
131 int llc_conn_ev_local_busy_detected(struct sock *sk, struct sk_buff *skb) in llc_conn_ev_local_busy_detected()
139 int llc_conn_ev_local_busy_cleared(struct sock *sk, struct sk_buff *skb) in llc_conn_ev_local_busy_cleared()
147 int llc_conn_ev_rx_bad_pdu(struct sock *sk, struct sk_buff *skb) in llc_conn_ev_rx_bad_pdu()
152 int llc_conn_ev_rx_disc_cmd_pbit_set_x(struct sock *sk, struct sk_buff *skb) in llc_conn_ev_rx_disc_cmd_pbit_set_x()
160 int llc_conn_ev_rx_dm_rsp_fbit_set_x(struct sock *sk, struct sk_buff *skb) in llc_conn_ev_rx_dm_rsp_fbit_set_x()
[all …]
Dllc_c_ac.c32 static int llc_conn_ac_inc_vs_by_1(struct sock *sk, struct sk_buff *skb);
33 static void llc_process_tmr_ev(struct sock *sk, struct sk_buff *skb);
34 static int llc_conn_ac_data_confirm(struct sock *sk, struct sk_buff *ev);
36 static int llc_conn_ac_inc_npta_value(struct sock *sk, struct sk_buff *skb);
39 struct sk_buff *skb);
41 static int llc_conn_ac_set_p_flag_1(struct sock *sk, struct sk_buff *skb);
45 int llc_conn_ac_clear_remote_busy(struct sock *sk, struct sk_buff *skb) in llc_conn_ac_clear_remote_busy()
61 int llc_conn_ac_conn_ind(struct sock *sk, struct sk_buff *skb) in llc_conn_ac_conn_ind()
69 int llc_conn_ac_conn_confirm(struct sock *sk, struct sk_buff *skb) in llc_conn_ac_conn_confirm()
77 static int llc_conn_ac_data_confirm(struct sock *sk, struct sk_buff *skb) in llc_conn_ac_data_confirm()
[all …]
Dllc_station.c85 llc_station_ev(struct sk_buff *skb) in llc_station_ev()
90 typedef int (*llc_station_ev_t)(struct sk_buff *skb);
98 typedef int (*llc_station_action_t)(struct sk_buff *skb);
114 static int llc_stat_ev_enable_with_dup_addr_check(struct sk_buff *skb) in llc_stat_ev_enable_with_dup_addr_check()
123 static int llc_stat_ev_enable_without_dup_addr_check(struct sk_buff *skb) in llc_stat_ev_enable_without_dup_addr_check()
132 static int llc_stat_ev_ack_tmr_exp_lt_retry_cnt_max_retry(struct sk_buff *skb) in llc_stat_ev_ack_tmr_exp_lt_retry_cnt_max_retry()
141 static int llc_stat_ev_ack_tmr_exp_eq_retry_cnt_max_retry(struct sk_buff *skb) in llc_stat_ev_ack_tmr_exp_eq_retry_cnt_max_retry()
150 static int llc_stat_ev_rx_null_dsap_xid_c(struct sk_buff *skb) in llc_stat_ev_rx_null_dsap_xid_c()
162 static int llc_stat_ev_rx_null_dsap_0_xid_r_xid_r_cnt_eq(struct sk_buff *skb) in llc_stat_ev_rx_null_dsap_0_xid_r_xid_r_cnt_eq()
175 static int llc_stat_ev_rx_null_dsap_1_xid_r_xid_r_cnt_eq(struct sk_buff *skb) in llc_stat_ev_rx_null_dsap_1_xid_r_xid_r_cnt_eq()
[all …]
/linux-3.4.99/net/bridge/
Dbr_forward.c25 struct sk_buff *skb,
27 struct sk_buff *skb));
31 const struct sk_buff *skb) in should_deliver()
37 static inline unsigned packet_length(const struct sk_buff *skb) in packet_length()
42 int br_dev_queue_push_xmit(struct sk_buff *skb) in br_dev_queue_push_xmit()
57 int br_forward_finish(struct sk_buff *skb) in br_forward_finish()
64 static void __br_deliver(const struct net_bridge_port *to, struct sk_buff *skb) in __br_deliver()
82 static void __br_forward(const struct net_bridge_port *to, struct sk_buff *skb) in __br_forward()
100 void br_deliver(const struct net_bridge_port *to, struct sk_buff *skb) in br_deliver()
111 void br_forward(const struct net_bridge_port *to, struct sk_buff *skb, struct sk_buff *skb0) in br_forward()
[all …]
/linux-3.4.99/include/net/irda/
Dircomm_core.h48 int (*data_request)(struct ircomm_cb *, struct sk_buff *, int clen);
49 int (*connect_request)(struct ircomm_cb *, struct sk_buff *,
51 int (*connect_response)(struct ircomm_cb *, struct sk_buff *);
52 int (*disconnect_request)(struct ircomm_cb *, struct sk_buff *,
89 int ircomm_data_request(struct ircomm_cb *self, struct sk_buff *skb);
90 void ircomm_data_indication(struct ircomm_cb *self, struct sk_buff *skb);
91 void ircomm_process_data(struct ircomm_cb *self, struct sk_buff *skb);
92 int ircomm_control_request(struct ircomm_cb *self, struct sk_buff *skb);
94 __u32 saddr, __u32 daddr, struct sk_buff *skb,
96 void ircomm_connect_indication(struct ircomm_cb *self, struct sk_buff *skb,
[all …]
/linux-3.4.99/net/tipc/
Dlink.h157 struct sk_buff *first_out;
158 struct sk_buff *last_out;
166 struct sk_buff *oldest_deferred_in;
167 struct sk_buff *newest_deferred_in;
171 struct sk_buff *proto_msg_queue;
174 struct sk_buff *next_out;
179 struct sk_buff *defragm_buf;
227 struct sk_buff *tipc_link_cmd_config(const void *req_tlv_area, int req_tlv_space, u16 cmd);
228 struct sk_buff *tipc_link_cmd_show_stats(const void *req_tlv_area, int req_tlv_space);
229 struct sk_buff *tipc_link_cmd_reset_stats(const void *req_tlv_area, int req_tlv_space);
[all …]
/linux-3.4.99/net/dccp/
Dqpolicy.c18 static void qpolicy_simple_push(struct sock *sk, struct sk_buff *skb) in qpolicy_simple_push()
29 static struct sk_buff *qpolicy_simple_top(struct sock *sk) in qpolicy_simple_top()
39 static struct sk_buff *qpolicy_prio_best_skb(struct sock *sk) in qpolicy_prio_best_skb()
41 struct sk_buff *skb, *best = NULL; in qpolicy_prio_best_skb()
49 static struct sk_buff *qpolicy_prio_worst_skb(struct sock *sk) in qpolicy_prio_worst_skb()
51 struct sk_buff *skb, *worst = NULL; in qpolicy_prio_worst_skb()
73 void (*push) (struct sock *sk, struct sk_buff *skb);
75 struct sk_buff* (*top) (struct sock *sk);
96 void dccp_qpolicy_push(struct sock *sk, struct sk_buff *skb) in dccp_qpolicy_push()
106 void dccp_qpolicy_drop(struct sock *sk, struct sk_buff *skb) in dccp_qpolicy_drop()
[all …]
/linux-3.4.99/arch/x86/net/
Dbpf_jit_comp.c180 if (offsetof(struct sk_buff, len) <= 127) in bpf_jit_compile()
182 EMIT4(0x44, 0x8b, 0x4f, offsetof(struct sk_buff, len)); in bpf_jit_compile()
186 EMIT(offsetof(struct sk_buff, len), 4); in bpf_jit_compile()
188 if (is_imm8(offsetof(struct sk_buff, data_len))) in bpf_jit_compile()
190 EMIT4(0x44, 0x2b, 0x4f, offsetof(struct sk_buff, data_len)); in bpf_jit_compile()
193 EMIT(offsetof(struct sk_buff, data_len), 4); in bpf_jit_compile()
196 if (is_imm8(offsetof(struct sk_buff, data))) in bpf_jit_compile()
198 EMIT4(0x4c, 0x8b, 0x47, offsetof(struct sk_buff, data)); in bpf_jit_compile()
202 EMIT(offsetof(struct sk_buff, data), 4); in bpf_jit_compile()
398 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, len) != 4); in bpf_jit_compile()
[all …]
/linux-3.4.99/drivers/net/wireless/rt2x00/
Drt2x00lib.h106 struct sk_buff *rt2x00queue_alloc_rxskb(struct queue_entry *entry);
121 void rt2x00queue_align_frame(struct sk_buff *skb);
130 void rt2x00queue_insert_l2pad(struct sk_buff *skb, unsigned int header_length);
140 void rt2x00queue_remove_l2pad(struct sk_buff *skb, unsigned int header_length);
148 int rt2x00queue_write_tx_frame(struct data_queue *queue, struct sk_buff *skb,
213 struct sk_buff *skb,
353 struct sk_buff *skb,
356 struct sk_buff *skb);
357 void rt2x00crypto_tx_copy_iv(struct sk_buff *skb,
359 void rt2x00crypto_tx_remove_iv(struct sk_buff *skb,
[all …]
/linux-3.4.99/net/irda/irlan/
Dirlan_client_event.c40 struct sk_buff *skb);
42 struct sk_buff *skb);
44 struct sk_buff *skb);
46 struct sk_buff *skb);
48 struct sk_buff *skb);
50 struct sk_buff *skb);
52 struct sk_buff *skb);
54 struct sk_buff *skb);
56 struct sk_buff *skb);
58 struct sk_buff *skb);
[all …]
/linux-3.4.99/drivers/net/wireless/brcm80211/include/
Dbrcmu_utils.h107 static inline struct sk_buff *pktq_ppeek(struct pktq *pq, int prec) in pktq_ppeek()
112 static inline struct sk_buff *pktq_ppeek_tail(struct pktq *pq, int prec) in pktq_ppeek_tail()
117 extern struct sk_buff *brcmu_pktq_penq(struct pktq *pq, int prec,
118 struct sk_buff *p);
119 extern struct sk_buff *brcmu_pktq_penq_head(struct pktq *pq, int prec,
120 struct sk_buff *p);
121 extern struct sk_buff *brcmu_pktq_pdeq(struct pktq *pq, int prec);
122 extern struct sk_buff *brcmu_pktq_pdeq_tail(struct pktq *pq, int prec);
125 extern struct sk_buff *brcmu_pkt_buf_get_skb(uint len);
126 extern void brcmu_pkt_buf_free_skb(struct sk_buff *skb);
[all …]

12345678910>>...82