/include/linux/ |
D | skbuff.h | 538 static inline bool skb_pfmemalloc(const struct sk_buff *skb) in skb_pfmemalloc() 556 static inline struct dst_entry *skb_dst(const struct sk_buff *skb) in skb_dst() 575 static inline void skb_dst_set(struct sk_buff *skb, struct dst_entry *dst) in skb_dst_set() 593 static inline void skb_dst_set_noref(struct sk_buff *skb, struct dst_entry *dst) in skb_dst_set_noref() 609 static inline void skb_dst_set_noref_force(struct sk_buff *skb, in skb_dst_set_noref_force() 619 static inline bool skb_dst_is_noref(const struct sk_buff *skb) in skb_dst_is_noref() 624 static inline struct rtable *skb_rtable(const struct sk_buff *skb) in skb_rtable() 713 static inline __u32 skb_get_rxhash(struct sk_buff *skb) in skb_get_rxhash() 722 static inline unsigned char *skb_end_pointer(const struct sk_buff *skb) in skb_end_pointer() 727 static inline unsigned int skb_end_offset(const struct sk_buff *skb) in skb_end_offset() [all …]
|
D | netfilter_bridge.h | 29 static inline int nf_bridge_maybe_copy_header(struct sk_buff *skb) in nf_bridge_maybe_copy_header() 37 static inline unsigned int nf_bridge_encap_header_len(const struct sk_buff *skb) in nf_bridge_encap_header_len() 49 static inline unsigned int nf_bridge_mtu_reduction(const struct sk_buff *skb) in nf_bridge_mtu_reduction() 58 static inline int br_nf_pre_routing_finish_bridge_slow(struct sk_buff *skb) in br_nf_pre_routing_finish_bridge_slow() 72 static inline unsigned int nf_bridge_pad(const struct sk_buff *skb) in nf_bridge_pad() 85 static inline void br_drop_fake_rtable(struct sk_buff *skb) in br_drop_fake_rtable() 94 #define nf_bridge_maybe_copy_header(skb) (0) argument 95 #define nf_bridge_pad(skb) (0) argument 96 #define br_drop_fake_rtable(skb) do { } while (0) argument
|
D | if_vlan.h | 61 static inline struct vlan_ethhdr *vlan_eth_hdr(const struct sk_buff *skb) in vlan_eth_hdr() 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() 185 static inline struct sk_buff *vlan_insert_tag(struct sk_buff *skb, in vlan_insert_tag() 220 static inline struct sk_buff *__vlan_put_tag(struct sk_buff *skb, in __vlan_put_tag() 237 static inline struct sk_buff *__vlan_hwaccel_put_tag(struct sk_buff *skb, in __vlan_hwaccel_put_tag() 256 static inline struct sk_buff *vlan_put_tag(struct sk_buff *skb, in vlan_put_tag() 273 static inline int __vlan_get_tag(const struct sk_buff *skb, u16 *vlan_tci) in __vlan_get_tag() 292 static inline int __vlan_hwaccel_get_tag(const struct sk_buff *skb, in __vlan_hwaccel_get_tag() 313 static inline int vlan_get_tag(const struct sk_buff *skb, u16 *vlan_tci) in vlan_get_tag() [all …]
|
D | ip.h | 23 static inline struct iphdr *ip_hdr(const struct sk_buff *skb) in ip_hdr() 28 static inline struct iphdr *inner_ip_hdr(const struct sk_buff *skb) in inner_ip_hdr() 33 static inline struct iphdr *ipip_hdr(const struct sk_buff *skb) in ipip_hdr()
|
D | netfilter.h | 130 struct sk_buff *skb, in nf_hook_thresh() 140 static inline int nf_hook(u_int8_t pf, unsigned int hook, struct sk_buff *skb, in nf_hook() 165 NF_HOOK_THRESH(uint8_t pf, unsigned int hook, struct sk_buff *skb, in NF_HOOK_THRESH() 176 NF_HOOK_COND(uint8_t pf, unsigned int hook, struct sk_buff *skb, in NF_HOOK_COND() 189 NF_HOOK(uint8_t pf, unsigned int hook, struct sk_buff *skb, in NF_HOOK() 241 nf_checksum(struct sk_buff *skb, unsigned int hook, unsigned int dataoff, in nf_checksum() 256 nf_checksum_partial(struct sk_buff *skb, unsigned int hook, in nf_checksum_partial() 279 nf_nat_decode_session(struct sk_buff *skb, struct flowi *fl, u_int8_t family) in nf_nat_decode_session() 293 #define NF_HOOK(pf, hook, skb, indev, outdev, okfn) (okfn)(skb) argument 294 #define NF_HOOK_COND(pf, hook, skb, indev, outdev, okfn, cond) (okfn)(skb) argument [all …]
|
D | netpoll.h | 76 static inline void netpoll_send_skb(struct netpoll *np, struct sk_buff *skb) in netpoll_send_skb() 87 static inline bool netpoll_rx_on(struct sk_buff *skb) in netpoll_rx_on() 94 static inline bool netpoll_rx(struct sk_buff *skb) in netpoll_rx() 117 static inline int netpoll_receive_skb(struct sk_buff *skb) in netpoll_receive_skb() 152 static inline bool netpoll_rx(struct sk_buff *skb) in netpoll_rx() 156 static inline bool netpoll_rx_on(struct sk_buff *skb) in netpoll_rx_on() 160 static inline int netpoll_receive_skb(struct sk_buff *skb) in netpoll_receive_skb()
|
D | icmpv6.h | 7 static inline struct icmp6hdr *icmp6_hdr(const struct sk_buff *skb) in icmp6_hdr() 23 static inline void icmpv6_send(struct sk_buff *skb, in icmpv6_send()
|
D | netlink.h | 13 static inline struct nlmsghdr *nlmsg_hdr(const struct sk_buff *skb) in nlmsg_hdr() 32 #define NETLINK_CB(skb) (*(struct netlink_skb_parms*)&((skb)->cb)) argument 33 #define NETLINK_CREDS(skb) (&NETLINK_CB((skb)).creds) argument 103 struct sk_buff *skb; member 137 static inline int netlink_dump_start(struct sock *ssk, struct sk_buff *skb, in netlink_dump_start()
|
D | dccp.h | 63 static inline struct dccp_hdr *dccp_hdr(const struct sk_buff *skb) in dccp_hdr() 68 static inline struct dccp_hdr *dccp_zeroed_hdr(struct sk_buff *skb, int headlen) in dccp_zeroed_hdr() 85 static inline unsigned int dccp_basic_hdr_len(const struct sk_buff *skb) in dccp_basic_hdr_len() 103 static inline struct dccp_hdr_request *dccp_hdr_request(struct sk_buff *skb) in dccp_hdr_request() 109 static inline struct dccp_hdr_ack_bits *dccp_hdr_ack_bits(const struct sk_buff *skb) in dccp_hdr_ack_bits() 115 static inline u64 dccp_hdr_ack_seq(const struct sk_buff *skb) in dccp_hdr_ack_seq() 121 static inline struct dccp_hdr_response *dccp_hdr_response(struct sk_buff *skb) in dccp_hdr_response() 127 static inline struct dccp_hdr_reset *dccp_hdr_reset(struct sk_buff *skb) in dccp_hdr_reset() 139 static inline unsigned int dccp_hdr_len(const struct sk_buff *skb) in dccp_hdr_len()
|
/include/net/ |
D | netlink.h | 456 static inline struct nlmsghdr *nlmsg_put(struct sk_buff *skb, u32 portid, u32 seq, in nlmsg_put() 476 static inline struct nlmsghdr *nlmsg_put_answer(struct sk_buff *skb, in nlmsg_put_answer() 509 static inline int nlmsg_end(struct sk_buff *skb, struct nlmsghdr *nlh) in nlmsg_end() 522 static inline void *nlmsg_get_pos(struct sk_buff *skb) in nlmsg_get_pos() 534 static inline void nlmsg_trim(struct sk_buff *skb, const void *mark) in nlmsg_trim() 548 static inline void nlmsg_cancel(struct sk_buff *skb, struct nlmsghdr *nlh) in nlmsg_cancel() 557 static inline void nlmsg_free(struct sk_buff *skb) in nlmsg_free() 570 static inline int nlmsg_multicast(struct sock *sk, struct sk_buff *skb, in nlmsg_multicast() 590 static inline int nlmsg_unicast(struct sock *sk, struct sk_buff *skb, u32 portid) in nlmsg_unicast() 758 static inline int nla_put_u8(struct sk_buff *skb, int attrtype, u8 value) in nla_put_u8() [all …]
|
D | udplite.h | 20 int len, int odd, struct sk_buff *skb) in udplite_getfrag() 35 static inline int udplite_checksum_init(struct sk_buff *skb, struct udphdr *uh) in udplite_checksum_init() 70 static inline __wsum udplite_csum_outgoing(struct sock *sk, struct sk_buff *skb) in udplite_csum_outgoing() 113 static inline __wsum udplite_csum(struct sk_buff *skb) in udplite_csum()
|
D | ieee802154_netdev.h | 44 static inline struct ieee802154_mac_cb *mac_cb(struct sk_buff *skb) in mac_cb() 55 static inline int mac_cb_is_ackreq(struct sk_buff *skb) in mac_cb_is_ackreq() 60 static inline int mac_cb_is_secen(struct sk_buff *skb) in mac_cb_is_secen() 65 static inline int mac_cb_is_intrapan(struct sk_buff *skb) in mac_cb_is_intrapan() 70 static inline int mac_cb_type(struct sk_buff *skb) in mac_cb_type()
|
D | llc_pdu.h | 203 static inline struct llc_pdu_sn *llc_pdu_sn_hdr(struct sk_buff *skb) in llc_pdu_sn_hdr() 215 static inline struct llc_pdu_un *llc_pdu_un_hdr(struct sk_buff *skb) in llc_pdu_un_hdr() 230 static inline void llc_pdu_header_init(struct sk_buff *skb, u8 type, in llc_pdu_header_init() 251 static inline void llc_pdu_decode_sa(struct sk_buff *skb, u8 *sa) in llc_pdu_decode_sa() 264 static inline void llc_pdu_decode_da(struct sk_buff *skb, u8 *da) in llc_pdu_decode_da() 278 static inline void llc_pdu_decode_ssap(struct sk_buff *skb, u8 *ssap) in llc_pdu_decode_ssap() 291 static inline void llc_pdu_decode_dsap(struct sk_buff *skb, u8 *dsap) in llc_pdu_decode_dsap() 302 static inline void llc_pdu_init_as_ui_cmd(struct sk_buff *skb) in llc_pdu_init_as_ui_cmd() 316 static inline void llc_pdu_init_as_test_cmd(struct sk_buff *skb) in llc_pdu_init_as_test_cmd() 332 static inline void llc_pdu_init_as_test_rsp(struct sk_buff *skb, in llc_pdu_init_as_test_rsp() [all …]
|
D | inet_ecn.h | 133 static inline int INET_ECN_set_ce(struct sk_buff *skb) in INET_ECN_set_ce() 174 static inline int INET_ECN_decapsulate(struct sk_buff *skb, in INET_ECN_decapsulate() 196 struct sk_buff *skb) in IP_ECN_decapsulate() 211 struct sk_buff *skb) in IP6_ECN_decapsulate()
|
D | dst.h | 279 static inline void skb_dst_drop(struct sk_buff *skb) in skb_dst_drop() 300 static inline void skb_dst_force(struct sk_buff *skb) in skb_dst_force() 318 static inline void __skb_tunnel_rx(struct sk_buff *skb, struct net_device *dev) in __skb_tunnel_rx() 343 static inline void skb_tunnel_rx(struct sk_buff *skb, struct net_device *dev) in skb_tunnel_rx() 355 static inline struct dst_entry *skb_dst_pop(struct sk_buff *skb) in skb_dst_pop() 394 struct sk_buff *skb) in dst_neigh_output() 421 struct sk_buff *skb) in dst_neigh_lookup_skb() 427 static inline void dst_link_failure(struct sk_buff *skb) in dst_link_failure() 446 static inline int dst_output(struct sk_buff *skb) in dst_output() 452 static inline int dst_input(struct sk_buff *skb) in dst_input()
|
D | genetlink.h | 182 static inline void *genlmsg_put_reply(struct sk_buff *skb, in genlmsg_put_reply() 196 static inline int genlmsg_end(struct sk_buff *skb, void *hdr) in genlmsg_end() 206 static inline void genlmsg_cancel(struct sk_buff *skb, void *hdr) in genlmsg_cancel() 220 static inline int genlmsg_multicast_netns(struct net *net, struct sk_buff *skb, in genlmsg_multicast_netns() 233 static inline int genlmsg_multicast(struct sk_buff *skb, u32 portid, in genlmsg_multicast() 256 static inline int genlmsg_unicast(struct net *net, struct sk_buff *skb, u32 portid) in genlmsg_unicast() 266 static inline int genlmsg_reply(struct sk_buff *skb, struct genl_info *info) in genlmsg_reply()
|
D | sch_generic.h | 236 static inline void qdisc_cb_private_validate(const struct sk_buff *skb, int sz) in qdisc_cb_private_validate() 249 static inline struct qdisc_skb_cb *qdisc_skb_cb(const struct sk_buff *skb) in qdisc_skb_cb() 435 static inline unsigned int qdisc_pkt_len(const struct sk_buff *skb) in qdisc_pkt_len() 452 static inline void qdisc_calculate_pkt_len(struct sk_buff *skb, in qdisc_calculate_pkt_len() 463 static inline int qdisc_enqueue(struct sk_buff *skb, struct Qdisc *sch) in qdisc_enqueue() 469 static inline int qdisc_enqueue_root(struct sk_buff *skb, struct Qdisc *sch) in qdisc_enqueue_root() 477 const struct sk_buff *skb) in bstats_update() 484 const struct sk_buff *skb) in qdisc_bstats_update() 489 static inline int __qdisc_enqueue_tail(struct sk_buff *skb, struct Qdisc *sch, in __qdisc_enqueue_tail() 498 static inline int qdisc_enqueue_tail(struct sk_buff *skb, struct Qdisc *sch) in qdisc_enqueue_tail() [all …]
|
D | ip6_checksum.h | 52 static inline void __tcp_v6_send_check(struct sk_buff *skb, in __tcp_v6_send_check() 69 static inline void tcp_v6_send_check(struct sock *sk, struct sk_buff *skb) in tcp_v6_send_check()
|
D | tcp.h | 493 struct sk_buff *skb, in cookie_v4_init_sequence() 511 struct sk_buff *skb, in cookie_v6_init_sequence() 728 TCP_ECN_create_request(struct request_sock *req, const struct sk_buff *skb, in TCP_ECN_create_request() 741 static inline int tcp_skb_pcount(const struct sk_buff *skb) in tcp_skb_pcount() 747 static inline int tcp_skb_mss(const struct sk_buff *skb) in tcp_skb_mss() 968 const struct sk_buff *skb) in tcp_minshall_update() 1003 static inline __sum16 __tcp_checksum_complete(struct sk_buff *skb) in __tcp_checksum_complete() 1008 static inline bool tcp_checksum_complete(struct sk_buff *skb) in tcp_checksum_complete() 1080 struct sk_buff *skb) in tcp_openreq_init() 1333 struct sk_buff *skb; in tcp_write_queue_purge() local [all …]
|
D | pkt_cls.h | 119 tcf_exts_exec(struct sk_buff *skb, struct tcf_exts *exts, in tcf_exts_exec() 285 static inline int tcf_em_tree_match(struct sk_buff *skb, in tcf_em_tree_match() 304 #define tcf_em_tree_dump(skb, t, tlv) (0) argument 306 #define tcf_em_tree_match(skb, t, info) ((void)(info), 1) argument 310 static inline unsigned char * tcf_get_base_ptr(struct sk_buff *skb, int layer) in tcf_get_base_ptr() 324 static inline int tcf_valid_offset(const struct sk_buff *skb, in tcf_valid_offset() 344 tcf_match_indev(struct sk_buff *skb, char *indev) in tcf_match_indev()
|
D | codel.h | 85 static struct codel_skb_cb *get_codel_cb(const struct sk_buff *skb) in get_codel_cb() 91 static codel_time_t codel_get_enqueue_time(const struct sk_buff *skb) in codel_get_enqueue_time() 96 static void codel_set_enqueue_time(struct sk_buff *skb) in codel_set_enqueue_time() 207 static bool codel_should_drop(const struct sk_buff *skb, in codel_should_drop() 254 struct sk_buff *skb = dequeue_func(vars, sch); in codel_dequeue() local
|
/include/net/phonet/ |
D | phonet.h | 66 static inline struct phonethdr *pn_hdr(struct sk_buff *skb) in pn_hdr() 71 static inline struct phonetmsg *pn_msg(struct sk_buff *skb) in pn_msg() 81 void pn_skb_get_src_sockaddr(struct sk_buff *skb, struct sockaddr_pn *sa) in pn_skb_get_src_sockaddr() 93 void pn_skb_get_dst_sockaddr(struct sk_buff *skb, struct sockaddr_pn *sa) in pn_skb_get_dst_sockaddr()
|
/include/net/netfilter/ |
D | nfnetlink_queue.h | 25 inline struct nf_conn *nfqnl_ct_parse(const struct sk_buff *skb, in nfqnl_ct_parse() 33 nfqnl_ct_put(struct sk_buff *skb, struct nf_conn *ct, enum ip_conntrack_info ctinfo) in nfqnl_ct_put() 38 inline void nfqnl_ct_seq_adjust(struct sk_buff *skb, struct nf_conn *ct, in nfqnl_ct_seq_adjust()
|
/include/linux/can/ |
D | skb.h | 35 static inline struct can_skb_priv *can_skb_prv(struct sk_buff *skb) in can_skb_prv() 40 static inline void can_skb_reserve(struct sk_buff *skb) in can_skb_reserve()
|
/include/uapi/linux/netfilter/ |
D | nfnetlink_compat.h | 46 #define NFA_NEST(skb, type) \ argument 50 #define NFA_NEST_END(skb, start) \ argument 53 #define NFA_NEST_CANCEL(skb, start) \ argument
|