Home
last modified time | relevance | path

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

12345678910>>...41

/net/ieee802154/
Dieee802154.h28 struct sk_buff *ieee802154_nl_create(int flags, u8 req);
29 int ieee802154_nl_mcast(struct sk_buff *msg, unsigned int group);
30 struct sk_buff *ieee802154_nl_new_reply(struct genl_info *info,
32 int ieee802154_nl_reply(struct sk_buff *msg, struct genl_info *info);
37 int ieee802154_list_phy(struct sk_buff *skb, struct genl_info *info);
38 int ieee802154_dump_phy(struct sk_buff *skb, struct netlink_callback *cb);
39 int ieee802154_add_iface(struct sk_buff *skb, struct genl_info *info);
40 int ieee802154_del_iface(struct sk_buff *skb, struct genl_info *info);
47 int ieee802154_associate_req(struct sk_buff *skb, struct genl_info *info);
48 int ieee802154_associate_resp(struct sk_buff *skb, struct genl_info *info);
[all …]
/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_pdu.c18 static void llc_pdu_decode_pdu_type(struct sk_buff *skb, u8 *type);
21 void llc_pdu_set_cmd_rsp(struct sk_buff *skb, u8 pdu_type) in llc_pdu_set_cmd_rsp()
35 void llc_pdu_set_pf_bit(struct sk_buff *skb, u8 bit_value) in llc_pdu_set_pf_bit()
63 void llc_pdu_decode_pf_bit(struct sk_buff *skb, u8 *pf_bit) in llc_pdu_decode_pf_bit()
89 void llc_pdu_init_as_disc_cmd(struct sk_buff *skb, u8 p_bit) in llc_pdu_init_as_disc_cmd()
107 void llc_pdu_init_as_i_cmd(struct sk_buff *skb, u8 p_bit, u8 ns, u8 nr) in llc_pdu_init_as_i_cmd()
126 void llc_pdu_init_as_rej_cmd(struct sk_buff *skb, u8 p_bit, u8 nr) in llc_pdu_init_as_rej_cmd()
146 void llc_pdu_init_as_rnr_cmd(struct sk_buff *skb, u8 p_bit, u8 nr) in llc_pdu_init_as_rnr_cmd()
166 void llc_pdu_init_as_rr_cmd(struct sk_buff *skb, u8 p_bit, u8 nr) in llc_pdu_init_as_rr_cmd()
184 void llc_pdu_init_as_sabme_cmd(struct sk_buff *skb, u8 p_bit) in llc_pdu_init_as_sabme_cmd()
[all …]
/net/nfc/
Ddigital.h45 struct sk_buff *digital_skb_alloc(struct nfc_digital_dev *ddev,
49 struct sk_buff *skb, struct digital_tg_mdaa_params *params,
55 struct sk_buff *skb, u16 timeout, in digital_in_send_cmd()
71 struct sk_buff *skb);
73 struct sk_buff *skb);
78 int digital_in_recv_mifare_res(struct sk_buff *resp);
84 struct nfc_target *target, struct sk_buff *skb,
89 struct sk_buff *skb, u16 timeout, in digital_tg_send_cmd()
97 struct sk_buff *resp);
100 struct sk_buff *resp);
[all …]
/net/core/
Dskbuff.c102 static void skb_panic(struct sk_buff *skb, unsigned int sz, void *addr, in skb_panic()
112 static void skb_over_panic(struct sk_buff *skb, unsigned int sz, void *addr) in skb_over_panic()
117 static void skb_under_panic(struct sk_buff *skb, unsigned int sz, void *addr) in skb_under_panic()
182 struct sk_buff *__alloc_skb(unsigned int size, gfp_t gfp_mask, in __alloc_skb()
187 struct sk_buff *skb; in __alloc_skb()
225 memset(skb, 0, offsetof(struct sk_buff, tail)); in __alloc_skb()
262 static struct sk_buff *__build_skb_around(struct sk_buff *skb, in __build_skb_around()
307 struct sk_buff *__build_skb(void *data, unsigned int frag_size) in __build_skb()
309 struct sk_buff *skb; in __build_skb()
315 memset(skb, 0, offsetof(struct sk_buff, tail)); in __build_skb()
[all …]
Ddatagram.c89 const struct sk_buff *skb) in __skb_wait_for_more_packets()
137 static struct sk_buff *skb_set_peeked(struct sk_buff *skb) in skb_set_peeked()
139 struct sk_buff *nskb; in skb_set_peeked()
166 struct sk_buff *__skb_try_recv_from_queue(struct sock *sk, in __skb_try_recv_from_queue()
170 struct sk_buff *skb), in __skb_try_recv_from_queue()
172 struct sk_buff **last) in __skb_try_recv_from_queue()
175 struct sk_buff *skb; in __skb_try_recv_from_queue()
245 struct sk_buff *__skb_try_recv_datagram(struct sock *sk, unsigned int flags, in __skb_try_recv_datagram()
247 struct sk_buff *skb), in __skb_try_recv_datagram()
249 struct sk_buff **last) in __skb_try_recv_datagram()
[all …]
/net/dsa/
Dtag_ksz.c17 static struct sk_buff *ksz_common_xmit(struct sk_buff *skb, in ksz_common_xmit()
20 struct sk_buff *nskb; in ksz_common_xmit()
57 static struct sk_buff *ksz_common_rcv(struct sk_buff *skb, in ksz_common_rcv()
93 static struct sk_buff *ksz8795_xmit(struct sk_buff *skb, struct net_device *dev) in ksz8795_xmit()
96 struct sk_buff *nskb; in ksz8795_xmit()
115 static struct sk_buff *ksz8795_rcv(struct sk_buff *skb, struct net_device *dev, in ksz8795_rcv()
157 static struct sk_buff *ksz9477_xmit(struct sk_buff *skb, in ksz9477_xmit()
161 struct sk_buff *nskb; in ksz9477_xmit()
183 static struct sk_buff *ksz9477_rcv(struct sk_buff *skb, struct net_device *dev, in ksz9477_rcv()
212 static struct sk_buff *ksz9893_xmit(struct sk_buff *skb, in ksz9893_xmit()
[all …]
Dtag_brcm.c61 static struct sk_buff *brcm_tag_xmit_ll(struct sk_buff *skb, in brcm_tag_xmit_ll()
110 static struct sk_buff *brcm_tag_rcv_ll(struct sk_buff *skb, in brcm_tag_rcv_ll()
150 static struct sk_buff *brcm_tag_xmit(struct sk_buff *skb, in brcm_tag_xmit()
158 static struct sk_buff *brcm_tag_rcv(struct sk_buff *skb, struct net_device *dev, in brcm_tag_rcv()
161 struct sk_buff *nskb; in brcm_tag_rcv()
189 static struct sk_buff *brcm_tag_xmit_prepend(struct sk_buff *skb, in brcm_tag_xmit_prepend()
196 static struct sk_buff *brcm_tag_rcv_prepend(struct sk_buff *skb, in brcm_tag_rcv_prepend()
/net/batman-adv/
Ddistributed-arp-table.h29 struct sk_buff *skb);
31 struct sk_buff *skb, int hdr_size);
33 struct sk_buff *skb);
35 struct sk_buff *skb, int hdr_size);
37 struct sk_buff *skb,
41 struct sk_buff *skb, int hdr_size);
78 int batadv_dat_cache_dump(struct sk_buff *msg, struct netlink_callback *cb);
110 struct sk_buff *skb) in batadv_dat_snoop_outgoing_arp_request()
117 struct sk_buff *skb, int hdr_size) in batadv_dat_snoop_incoming_arp_request()
124 struct sk_buff *skb) in batadv_dat_snoop_outgoing_arp_reply()
[all …]
Dbridge_loop_avoidance.h37 bool batadv_bla_rx(struct batadv_priv *bat_priv, struct sk_buff *skb,
39 bool batadv_bla_tx(struct batadv_priv *bat_priv, struct sk_buff *skb,
41 bool batadv_bla_is_backbone_gw(struct sk_buff *skb,
45 int batadv_bla_claim_dump(struct sk_buff *msg, struct netlink_callback *cb);
48 int batadv_bla_backbone_dump(struct sk_buff *msg, struct netlink_callback *cb);
52 struct sk_buff *skb);
59 int batadv_bla_claim_dump(struct sk_buff *msg, struct netlink_callback *cb);
68 struct sk_buff *skb, unsigned short vid, in batadv_bla_rx()
75 struct sk_buff *skb, unsigned short vid) in batadv_bla_tx()
80 static inline bool batadv_bla_is_backbone_gw(struct sk_buff *skb, in batadv_bla_is_backbone_gw()
[all …]
Dsend.h25 struct sk_buff *skb);
32 int batadv_send_skb_to_orig(struct sk_buff *skb,
35 int batadv_send_skb_packet(struct sk_buff *skb,
38 int batadv_send_broadcast_skb(struct sk_buff *skb,
40 int batadv_send_unicast_skb(struct sk_buff *skb,
43 const struct sk_buff *skb,
50 struct sk_buff *skb,
54 struct sk_buff *skb, int packet_type,
59 struct sk_buff *skb, int packet_type,
62 int batadv_send_skb_via_gw(struct batadv_priv *bat_priv, struct sk_buff *skb,
[all …]
Dmulticast.h46 batadv_mcast_forw_mode(struct batadv_priv *bat_priv, struct sk_buff *skb,
51 struct sk_buff *skb,
55 int batadv_mcast_forw_send(struct batadv_priv *bat_priv, struct sk_buff *skb,
62 int batadv_mcast_mesh_info_put(struct sk_buff *msg,
65 int batadv_mcast_flags_dump(struct sk_buff *msg, struct netlink_callback *cb);
74 batadv_mcast_forw_mode(struct batadv_priv *bat_priv, struct sk_buff *skb, in batadv_mcast_forw_mode()
83 struct sk_buff *skb, in batadv_mcast_forw_send_orig()
92 batadv_mcast_forw_send(struct batadv_priv *bat_priv, struct sk_buff *skb, in batadv_mcast_forw_send()
105 batadv_mcast_mesh_info_put(struct sk_buff *msg, struct batadv_priv *bat_priv) in batadv_mcast_mesh_info_put()
110 static inline int batadv_mcast_flags_dump(struct sk_buff *msg, in batadv_mcast_flags_dump()
Drouting.h15 bool batadv_check_management_packet(struct sk_buff *skb,
22 int batadv_recv_icmp_packet(struct sk_buff *skb,
24 int batadv_recv_unicast_packet(struct sk_buff *skb,
26 int batadv_recv_frag_packet(struct sk_buff *skb,
28 int batadv_recv_bcast_packet(struct sk_buff *skb,
30 int batadv_recv_tt_query(struct sk_buff *skb,
32 int batadv_recv_roam_adv(struct sk_buff *skb,
34 int batadv_recv_unicast_tvlv(struct sk_buff *skb,
36 int batadv_recv_unhandled_unicast_packet(struct sk_buff *skb,
/net/tipc/
Dbearer.h104 int (*send_msg)(struct net *net, struct sk_buff *buf,
179 void tipc_rcv(struct net *net, struct sk_buff *skb, struct tipc_bearer *b);
193 int tipc_nl_bearer_disable(struct sk_buff *skb, struct genl_info *info);
194 int __tipc_nl_bearer_disable(struct sk_buff *skb, struct genl_info *info);
195 int tipc_nl_bearer_enable(struct sk_buff *skb, struct genl_info *info);
196 int __tipc_nl_bearer_enable(struct sk_buff *skb, struct genl_info *info);
197 int tipc_nl_bearer_dump(struct sk_buff *skb, struct netlink_callback *cb);
198 int tipc_nl_bearer_get(struct sk_buff *skb, struct genl_info *info);
199 int tipc_nl_bearer_set(struct sk_buff *skb, struct genl_info *info);
200 int __tipc_nl_bearer_set(struct sk_buff *skb, struct genl_info *info);
[all …]
Dnode.h88 int tipc_node_xmit_skb(struct net *net, struct sk_buff *skb, u32 dest,
92 void tipc_node_broadcast(struct net *net, struct sk_buff *skb);
98 int tipc_nl_node_dump(struct sk_buff *skb, struct netlink_callback *cb);
99 int tipc_nl_node_dump_link(struct sk_buff *skb, struct netlink_callback *cb);
100 int tipc_nl_node_reset_link_stats(struct sk_buff *skb, struct genl_info *info);
101 int tipc_nl_node_get_link(struct sk_buff *skb, struct genl_info *info);
102 int tipc_nl_node_set_link(struct sk_buff *skb, struct genl_info *info);
103 int tipc_nl_peer_rm(struct sk_buff *skb, struct genl_info *info);
105 int tipc_nl_node_set_monitor(struct sk_buff *skb, struct genl_info *info);
106 int tipc_nl_node_get_monitor(struct sk_buff *skb, struct genl_info *info);
[all …]
/net/ipv6/
Dip6_offload.c36 static int ipv6_gso_pull_exthdrs(struct sk_buff *skb, int proto) in ipv6_gso_pull_exthdrs()
71 static struct sk_buff *ipv6_gso_segment(struct sk_buff *skb, in ipv6_gso_segment()
74 struct sk_buff *segs = ERR_PTR(-EINVAL); in ipv6_gso_segment()
182 INDIRECT_CALLABLE_DECLARE(struct sk_buff *tcp6_gro_receive(struct list_head *,
183 struct sk_buff *));
184 INDIRECT_CALLABLE_DECLARE(struct sk_buff *udp6_gro_receive(struct list_head *,
185 struct sk_buff *));
186 INDIRECT_CALLABLE_SCOPE struct sk_buff *ipv6_gro_receive(struct list_head *head, in ipv6_gro_receive()
187 struct sk_buff *skb) in ipv6_gro_receive()
190 struct sk_buff *pp = NULL; in ipv6_gro_receive()
[all …]
/net/dccp/
Dqpolicy.c15 static void qpolicy_simple_push(struct sock *sk, struct sk_buff *skb) in qpolicy_simple_push()
26 static struct sk_buff *qpolicy_simple_top(struct sock *sk) in qpolicy_simple_top()
36 static struct sk_buff *qpolicy_prio_best_skb(struct sock *sk) in qpolicy_prio_best_skb()
38 struct sk_buff *skb, *best = NULL; in qpolicy_prio_best_skb()
46 static struct sk_buff *qpolicy_prio_worst_skb(struct sock *sk) in qpolicy_prio_worst_skb()
48 struct sk_buff *skb, *worst = NULL; in qpolicy_prio_worst_skb()
70 void (*push) (struct sock *sk, struct sk_buff *skb);
72 struct sk_buff* (*top) (struct sock *sk);
93 void dccp_qpolicy_push(struct sock *sk, struct sk_buff *skb) in dccp_qpolicy_push()
103 void dccp_qpolicy_drop(struct sock *sk, struct sk_buff *skb) in dccp_qpolicy_drop()
[all …]
Ddccp.h205 static inline unsigned int dccp_csum_coverage(const struct sk_buff *skb) in dccp_csum_coverage()
214 static inline void dccp_csum_outgoing(struct sk_buff *skb) in dccp_csum_outgoing()
224 void dccp_v4_send_check(struct sock *sk, struct sk_buff *skb);
229 void dccp_reqsk_send_ack(const struct sock *sk, struct sk_buff *skb,
238 void dccp_qpolicy_push(struct sock *sk, struct sk_buff *skb);
240 void dccp_qpolicy_drop(struct sock *sk, struct sk_buff *skb);
241 struct sk_buff *dccp_qpolicy_top(struct sock *sk);
242 struct sk_buff *dccp_qpolicy_pop(struct sock *sk);
266 struct sk_buff const *skb);
268 int dccp_v4_conn_request(struct sock *sk, struct sk_buff *skb);
[all …]
/net/ipv4/
Dudp_offload.c14 static struct sk_buff *__skb_udp_tunnel_segment(struct sk_buff *skb, in __skb_udp_tunnel_segment()
16 struct sk_buff *(*gso_inner_segment)(struct sk_buff *skb, in __skb_udp_tunnel_segment()
22 struct sk_buff *segs = ERR_PTR(-EINVAL); in __skb_udp_tunnel_segment()
148 struct sk_buff *skb_udp_tunnel_segment(struct sk_buff *skb, in skb_udp_tunnel_segment()
155 struct sk_buff *segs = ERR_PTR(-EINVAL); in skb_udp_tunnel_segment()
156 struct sk_buff *(*gso_inner_segment)(struct sk_buff *skb, in skb_udp_tunnel_segment()
187 static void __udpv4_gso_segment_csum(struct sk_buff *seg, in __udpv4_gso_segment_csum()
214 static struct sk_buff *__udpv4_gso_segment_list_csum(struct sk_buff *segs) in __udpv4_gso_segment_list_csum()
216 struct sk_buff *seg; in __udpv4_gso_segment_list_csum()
245 static struct sk_buff *__udp_gso_segment_list(struct sk_buff *skb, in __udp_gso_segment_list()
[all …]
/net/openvswitch/
Dconntrack.h22 int ovs_ct_action_to_attr(const struct ovs_conntrack_info *, struct sk_buff *);
24 int ovs_ct_execute(struct net *, struct sk_buff *, struct sw_flow_key *,
26 int ovs_ct_clear(struct sk_buff *skb, struct sw_flow_key *key);
28 void ovs_ct_fill_key(const struct sk_buff *skb, struct sw_flow_key *key);
30 const struct sw_flow_key *output, struct sk_buff *skb);
57 struct sk_buff *skb) in ovs_ct_action_to_attr()
62 static inline int ovs_ct_execute(struct net *net, struct sk_buff *skb, in ovs_ct_execute()
70 static inline int ovs_ct_clear(struct sk_buff *skb, in ovs_ct_clear()
76 static inline void ovs_ct_fill_key(const struct sk_buff *skb, in ovs_ct_fill_key()
91 struct sk_buff *skb) in ovs_ct_put_key()
/net/caif/
Dcfpkt_skbuff.c36 struct sk_buff skb;
55 static inline struct sk_buff *pkt_to_skb(struct cfpkt *pkt) in pkt_to_skb()
60 static inline struct cfpkt *skb_to_pkt(struct sk_buff *skb) in skb_to_pkt()
81 struct sk_buff *skb; in cfpkt_create_pfx()
98 struct sk_buff *skb = pkt_to_skb(pkt); in cfpkt_destroy()
104 struct sk_buff *skb = pkt_to_skb(pkt); in cfpkt_more()
110 struct sk_buff *skb = pkt_to_skb(pkt); in cfpkt_peek_head()
121 struct sk_buff *skb = pkt_to_skb(pkt); in cfpkt_extr_head()
147 struct sk_buff *skb = pkt_to_skb(pkt); in cfpkt_extr_trail()
174 struct sk_buff *skb = pkt_to_skb(pkt); in cfpkt_add_body()
[all …]
/net/bridge/
Dbr_private.h517 netdev_tx_t br_dev_xmit(struct sk_buff *skb, struct net_device *dev);
520 struct sk_buff *skb) in br_netpoll_send_skb()
532 struct sk_buff *skb) in br_netpoll_send_skb()
576 int br_fdb_dump(struct sk_buff *skb, struct netlink_callback *cb,
578 int br_fdb_get(struct sk_buff *skb, struct nlattr *tb[], struct net_device *dev,
598 int br_dev_queue_push_xmit(struct net *net, struct sock *sk, struct sk_buff *skb);
599 void br_forward(const struct net_bridge_port *to, struct sk_buff *skb,
601 int br_forward_finish(struct net *net, struct sock *sk, struct sk_buff *skb);
602 void br_flood(struct net_bridge *br, struct sk_buff *skb,
607 const struct sk_buff *skb) in br_skb_isolated()
[all …]
/net/ieee802154/6lowpan/
Drx.c21 static int lowpan_give_skb_to_device(struct sk_buff *skb) in lowpan_give_skb_to_device()
30 static int lowpan_rx_handlers_result(struct sk_buff *skb, lowpan_rx_result res) in lowpan_rx_handlers_result()
64 static lowpan_rx_result lowpan_rx_h_frag(struct sk_buff *skb) in lowpan_rx_h_frag()
83 int lowpan_iphc_decompress(struct sk_buff *skb) in lowpan_iphc_decompress()
93 static lowpan_rx_result lowpan_rx_h_iphc(struct sk_buff *skb) in lowpan_rx_h_iphc()
112 lowpan_rx_result lowpan_rx_h_ipv6(struct sk_buff *skb) in lowpan_rx_h_ipv6()
127 static lowpan_rx_result lowpan_rx_h_esc(struct sk_buff *skb) in lowpan_rx_h_esc()
143 static lowpan_rx_result lowpan_rx_h_hc1(struct sk_buff *skb) in lowpan_rx_h_hc1()
159 static lowpan_rx_result lowpan_rx_h_dff(struct sk_buff *skb) in lowpan_rx_h_dff()
175 static lowpan_rx_result lowpan_rx_h_bc0(struct sk_buff *skb) in lowpan_rx_h_bc0()
[all …]
/net/hsr/
Dhsr_forward.c19 struct sk_buff *skb_std;
20 struct sk_buff *skb_hsr;
45 static bool is_supervision_frame(struct hsr_priv *hsr, struct sk_buff *skb) in is_supervision_frame()
86 static struct sk_buff *create_stripped_skb(struct sk_buff *skb_in, in create_stripped_skb()
89 struct sk_buff *skb; in create_stripped_skb()
115 static struct sk_buff *frame_get_stripped_skb(struct hsr_frame_info *frame, in frame_get_stripped_skb()
123 static void hsr_fill_tag(struct sk_buff *skb, struct hsr_frame_info *frame, in hsr_fill_tag()
149 static struct sk_buff *create_tagged_skb(struct sk_buff *skb_o, in create_tagged_skb()
155 struct sk_buff *skb; in create_tagged_skb()
183 static struct sk_buff *frame_get_tagged_skb(struct hsr_frame_info *frame, in frame_get_tagged_skb()
[all …]

12345678910>>...41