Home
last modified time | relevance | path

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

12345678910>>...12

/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 int llc_conn_ev_conn_req(struct sock *sk, struct sk_buff *skb);
132 int llc_conn_ev_data_req(struct sock *sk, struct sk_buff *skb);
133 int llc_conn_ev_disc_req(struct sock *sk, struct sk_buff *skb);
134 int llc_conn_ev_rst_req(struct sock *sk, struct sk_buff *skb);
135 int llc_conn_ev_local_busy_detected(struct sock *sk, struct sk_buff *skb);
136 int llc_conn_ev_local_busy_cleared(struct sock *sk, struct sk_buff *skb);
137 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 int llc_conn_ac_clear_remote_busy(struct sock *sk, struct sk_buff *skb);
93 int llc_conn_ac_conn_ind(struct sock *sk, struct sk_buff *skb);
94 int llc_conn_ac_conn_confirm(struct sock *sk, struct sk_buff *skb);
95 int llc_conn_ac_data_ind(struct sock *sk, struct sk_buff *skb);
96 int llc_conn_ac_disc_ind(struct sock *sk, struct sk_buff *skb);
97 int llc_conn_ac_rst_ind(struct sock *sk, struct sk_buff *skb);
98 int llc_conn_ac_rst_confirm(struct sock *sk, struct sk_buff *skb);
100 struct sk_buff *skb);
102 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_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 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 …]
Dl3mdev.h31 struct sk_buff * (*l3mdev_l3_rcv)(struct net_device *dev,
32 struct sk_buff *skb, u16 proto);
33 struct sk_buff * (*l3mdev_l3_out)(struct net_device *dev,
34 struct sock *sk, struct sk_buff *skb,
139 struct sk_buff *l3mdev_l3_rcv(struct sk_buff *skb, u16 proto) in l3mdev_l3_rcv()
155 struct sk_buff *l3mdev_ip_rcv(struct sk_buff *skb) in l3mdev_ip_rcv()
161 struct sk_buff *l3mdev_ip6_rcv(struct sk_buff *skb) in l3mdev_ip6_rcv()
167 struct sk_buff *l3mdev_l3_out(struct sock *sk, struct sk_buff *skb, u16 proto) in l3mdev_l3_out()
184 struct sk_buff *l3mdev_ip_out(struct sock *sk, struct sk_buff *skb) in l3mdev_ip_out()
190 struct sk_buff *l3mdev_ip6_out(struct sock *sk, struct sk_buff *skb) in l3mdev_ip6_out()
[all …]
Dllc_sap.h19 struct sk_buff;
22 void llc_sap_rtn_pdu(struct llc_sap *sap, struct sk_buff *skb);
23 void llc_save_primitive(struct sock *sk, struct sk_buff *skb,
25 struct sk_buff *llc_alloc_frame(struct sock *sk, struct net_device *dev,
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,
Drawv6.h6 void raw6_icmp_error(struct sk_buff *, int nexthdr,
8 bool raw6_local_deliver(struct sk_buff *, int);
10 int rawv6_rcv(struct sock *sk, struct sk_buff *skb);
14 struct sk_buff *skb));
16 struct sk_buff *skb));
Dnetlink.h234 int netlink_rcv_skb(struct sk_buff *skb,
235 int (*cb)(struct sk_buff *, struct nlmsghdr *));
236 int nlmsg_notify(struct sock *sk, struct sk_buff *skb, u32 portid,
249 struct nlattr *__nla_reserve(struct sk_buff *skb, int attrtype, int attrlen);
250 struct nlattr *__nla_reserve_64bit(struct sk_buff *skb, int attrtype,
252 void *__nla_reserve_nohdr(struct sk_buff *skb, int attrlen);
253 struct nlattr *nla_reserve(struct sk_buff *skb, int attrtype, int attrlen);
254 struct nlattr *nla_reserve_64bit(struct sk_buff *skb, int attrtype,
256 void *nla_reserve_nohdr(struct sk_buff *skb, int attrlen);
257 void __nla_put(struct sk_buff *skb, int attrtype, int attrlen,
[all …]
Dsch_generic.h41 struct sk_buff *head;
42 struct sk_buff *tail;
48 int (*enqueue)(struct sk_buff *skb,
50 struct sk_buff **to_free);
51 struct sk_buff * (*dequeue)(struct Qdisc *sch);
86 struct sk_buff *gso_skb ____cacheline_aligned_in_smp;
93 struct sk_buff *skb_bad_txq;
163 struct sk_buff *skb, struct tcmsg*);
174 int (*enqueue)(struct sk_buff *skb,
176 struct sk_buff **to_free);
[all …]
/include/linux/
Dskbuff.h235 SKB_DATA_ALIGN(sizeof(struct sk_buff)) + \
282 struct sk_buff *next;
283 struct sk_buff *prev;
289 struct sk_buff;
421 struct sk_buff *frag_list;
633 struct sk_buff { struct
637 struct sk_buff *next; argument
638 struct sk_buff *prev;
659 void (*destructor)(struct sk_buff *skb); argument
686 #define CLONED_OFFSET() offsetof(struct sk_buff, __cloned_offset) argument
[all …]
Dnetlink.h13 static inline struct nlmsghdr *nlmsg_hdr(const struct sk_buff *skb) in nlmsg_hdr()
49 void (*input)(struct sk_buff *skb);
69 extern void netlink_ack(struct sk_buff *in_skb, struct nlmsghdr *nlh, int err);
72 extern int netlink_unicast(struct sock *ssk, struct sk_buff *skb, __u32 portid, int nonblock);
73 extern int netlink_broadcast(struct sock *ssk, struct sk_buff *skb, __u32 portid,
75 extern int netlink_broadcast_filtered(struct sock *ssk, struct sk_buff *skb,
77 int (*filter)(struct sock *dsk, struct sk_buff *skb, void *data),
85 int netlink_attachskb(struct sock *sk, struct sk_buff *skb,
87 void netlink_detachskb(struct sock *sk, struct sk_buff *skb);
88 int netlink_sendskb(struct sock *sk, struct sk_buff *skb);
[all …]
Dnetfilter.h44 struct sk_buff;
59 int (*okfn)(struct net *, struct sock *, struct sk_buff *);
63 struct sk_buff *skb,
92 int (*okfn)(struct net *, struct sock *, struct sk_buff *)) in nf_hook_state_init() argument
155 int nf_hook_slow(struct sk_buff *skb, struct nf_hook_state *state);
167 struct sk_buff *skb, in nf_hook_thresh()
170 int (*okfn)(struct net *, struct sock *, struct sk_buff *), in nf_hook_thresh() argument
199 struct sock *sk, struct sk_buff *skb, in nf_hook() argument
201 int (*okfn)(struct net *, struct sock *, struct sk_buff *)) in nf_hook()
225 struct sk_buff *skb, struct net_device *in, in NF_HOOK_THRESH()
[all …]
Dnetfilter_bridge.h20 int br_handle_frame_finish(struct net *net, struct sock *sk, struct sk_buff *skb);
22 static inline void br_drop_fake_rtable(struct sk_buff *skb) in br_drop_fake_rtable()
30 static inline int nf_bridge_get_physinif(const struct sk_buff *skb) in nf_bridge_get_physinif()
41 static inline int nf_bridge_get_physoutif(const struct sk_buff *skb) in nf_bridge_get_physoutif()
53 nf_bridge_get_physindev(const struct sk_buff *skb) in nf_bridge_get_physindev()
59 nf_bridge_get_physoutdev(const struct sk_buff *skb) in nf_bridge_get_physoutdev()
64 static inline bool nf_bridge_in_prerouting(const struct sk_buff *skb) in nf_bridge_in_prerouting()
70 static inline bool nf_bridge_in_prerouting(const struct sk_buff *skb) in nf_bridge_in_prerouting()
Drtnetlink.h10 extern int rtnetlink_send(struct sk_buff *skb, struct net *net, u32 pid, u32 group, int echo);
11 extern int rtnl_unicast(struct sk_buff *skb, struct net *net, u32 pid);
12 extern void rtnl_notify(struct sk_buff *skb, struct net *net, u32 pid,
15 extern int rtnetlink_put_metrics(struct sk_buff *skb, u32 *metrics);
16 extern int rtnl_put_cacheinfo(struct sk_buff *skb, struct dst_entry *dst,
20 struct sk_buff *rtmsg_ifinfo_build_skb(int type, struct net_device *dev,
22 void rtmsg_ifinfo_send(struct sk_buff *skb, struct net_device *dev,
94 void rtnl_kfree_skbs(struct sk_buff *head, struct sk_buff *tail);
104 extern int ndo_dflt_fdb_dump(struct sk_buff *skb,
121 extern int ndo_dflt_bridge_getlink(struct sk_buff *skb, u32 pid, u32 seq,
[all …]
Dinet_diag.h11 struct sk_buff;
15 void (*dump)(struct sk_buff *skb,
20 int (*dump_one)(struct sk_buff *in_skb,
28 int (*destroy)(struct sk_buff *in_skb,
37 struct sk_buff *skb, const struct inet_diag_req_v2 *req,
41 void inet_diag_dump_icsk(struct inet_hashinfo *h, struct sk_buff *skb,
46 struct sk_buff *in_skb, const struct nlmsghdr *nlh,
57 int inet_diag_msg_attrs_fill(struct sock *sk, struct sk_buff *skb,
Dnetfilter_ipv6.h19 void (*route_input)(struct sk_buff *skb);
20 int (*fragment)(struct net *net, struct sock *sk, struct sk_buff *skb,
21 int (*output)(struct net *, struct sock *, struct sk_buff *));
25 int ip6_route_me_harder(struct net *net, struct sk_buff *skb);
26 __sum16 nf_ip6_checksum(struct sk_buff *skb, unsigned int hook,
Dsock_diag.h10 struct sk_buff;
16 int (*dump)(struct sk_buff *skb, struct nlmsghdr *nlh);
17 int (*get_info)(struct sk_buff *skb, struct sock *sk);
18 int (*destroy)(struct sk_buff *skb, struct nlmsghdr *nlh);
24 void sock_diag_register_inet_compat(int (*fn)(struct sk_buff *skb, struct nlmsghdr *nlh));
25 void sock_diag_unregister_inet_compat(int (*fn)(struct sk_buff *skb, struct nlmsghdr *nlh));
31 int sock_diag_put_meminfo(struct sock *sk, struct sk_buff *skb, int attr);
33 struct sk_buff *skb, int attrtype);
/include/net/netfilter/
Dnf_nat_l3proto.h13 bool (*manip_pkt)(struct sk_buff *skb,
19 void (*csum_update)(struct sk_buff *skb, unsigned int iphdroff,
24 void (*csum_recalc)(struct sk_buff *skb, u8 proto,
28 void (*decode_session)(struct sk_buff *skb,
42 int nf_nat_icmp_reply_translation(struct sk_buff *skb, struct nf_conn *ct,
46 unsigned int nf_nat_ipv4_in(void *priv, struct sk_buff *skb,
49 struct sk_buff *skb,
53 unsigned int nf_nat_ipv4_out(void *priv, struct sk_buff *skb,
56 struct sk_buff *skb,
61 struct sk_buff *skb,
[all …]
Dbr_netfilter.h6 static inline struct nf_bridge_info *nf_bridge_alloc(struct sk_buff *skb) in nf_bridge_alloc()
16 void nf_bridge_update_protocol(struct sk_buff *skb);
19 struct sk_buff *skb, struct net_device *indev,
22 struct sk_buff *));
25 nf_bridge_info_get(const struct sk_buff *skb) in nf_bridge_info_get()
30 unsigned int nf_bridge_encap_header_len(const struct sk_buff *skb);
32 static inline void nf_bridge_push_encap_header(struct sk_buff *skb) in nf_bridge_push_encap_header()
40 int br_nf_pre_routing_finish_bridge(struct net *net, struct sock *sk, struct sk_buff *skb);
50 struct net_device *setup_pre_routing(struct sk_buff *skb);
54 int br_validate_ipv6(struct net *net, struct sk_buff *skb);
[all …]
/include/net/netfilter/ipv4/
Dnf_reject.h8 void nf_send_unreach(struct sk_buff *skb_in, int code, int hook);
9 void nf_send_reset(struct net *net, struct sk_buff *oldskb, int hook);
11 const struct tcphdr *nf_reject_ip_tcphdr_get(struct sk_buff *oldskb,
13 struct iphdr *nf_reject_iphdr_put(struct sk_buff *nskb,
14 const struct sk_buff *oldskb,
16 void nf_reject_ip_tcphdr_put(struct sk_buff *nskb, const struct sk_buff *oldskb,
/include/net/irda/
Dircomm_core.h46 int (*data_request)(struct ircomm_cb *, struct sk_buff *, int clen);
47 int (*connect_request)(struct ircomm_cb *, struct sk_buff *,
49 int (*connect_response)(struct ircomm_cb *, struct sk_buff *);
50 int (*disconnect_request)(struct ircomm_cb *, struct sk_buff *,
87 int ircomm_data_request(struct ircomm_cb *self, struct sk_buff *skb);
88 void ircomm_data_indication(struct ircomm_cb *self, struct sk_buff *skb);
89 void ircomm_process_data(struct ircomm_cb *self, struct sk_buff *skb);
90 int ircomm_control_request(struct ircomm_cb *self, struct sk_buff *skb);
92 __u32 saddr, __u32 daddr, struct sk_buff *skb,
94 void ircomm_connect_indication(struct ircomm_cb *self, struct sk_buff *skb,
[all …]
Dirlmp_frame.h43 int expedited, struct sk_buff *skb);
45 __u8 opcode, struct sk_buff *skb);
46 void irlmp_link_data_indication(struct lap_cb *, struct sk_buff *,
49 void irlmp_link_unitdata_indication(struct lap_cb *, struct sk_buff *);
53 struct qos_info *qos, struct sk_buff *skb);
56 struct sk_buff *skb);
58 LAP_REASON reason, struct sk_buff *);
/include/net/netfilter/ipv6/
Dnf_reject.h6 void nf_send_unreach6(struct net *net, struct sk_buff *skb_in, unsigned char code,
9 void nf_send_reset6(struct net *net, struct sk_buff *oldskb, int hook);
11 const struct tcphdr *nf_reject_ip6_tcphdr_get(struct sk_buff *oldskb,
14 struct ipv6hdr *nf_reject_ip6hdr_put(struct sk_buff *nskb,
15 const struct sk_buff *oldskb,
17 void nf_reject_ip6_tcphdr_put(struct sk_buff *nskb,
18 const struct sk_buff *oldskb,
/include/linux/can/
Dskb.h39 static inline struct can_skb_priv *can_skb_prv(struct sk_buff *skb) in can_skb_prv()
44 static inline void can_skb_reserve(struct sk_buff *skb) in can_skb_reserve()
49 static inline void can_skb_set_owner(struct sk_buff *skb, struct sock *sk) in can_skb_set_owner()
61 static inline struct sk_buff *can_create_echo_skb(struct sk_buff *skb) in can_create_echo_skb()
64 struct sk_buff *nskb = skb_clone(skb, GFP_ATOMIC); in can_create_echo_skb()
/include/rdma/
Diw_portmap.h132 int iwpm_register_pid_cb(struct sk_buff *, struct netlink_callback *);
140 int iwpm_add_mapping_cb(struct sk_buff *, struct netlink_callback *);
148 int iwpm_add_and_query_mapping_cb(struct sk_buff *, struct netlink_callback *);
158 int iwpm_remote_info_cb(struct sk_buff *, struct netlink_callback *);
166 int iwpm_mapping_error_cb(struct sk_buff *, struct netlink_callback *);
177 int iwpm_mapping_info_cb(struct sk_buff *, struct netlink_callback *);
185 int iwpm_ack_mapping_info_cb(struct sk_buff *, struct netlink_callback *);

12345678910>>...12