Searched refs:skb (Results 1 - 25 of 242) sorted by relevance

12345678910

/include/linux/can/
H A Dskb.h2 * linux/can/skb.h
30 * @cf: align to the following CAN frame at skb->data
37 static inline struct can_skb_priv *can_skb_prv(struct sk_buff *skb) argument
39 return (struct can_skb_priv *)(skb->head);
42 static inline void can_skb_reserve(struct sk_buff *skb) argument
44 skb_reserve(skb, sizeof(struct can_skb_priv));
47 static inline void can_skb_destructor(struct sk_buff *skb) argument
49 sock_put(skb->sk);
52 static inline void can_skb_set_owner(struct sk_buff *skb, struct sock *sk) argument
56 skb
64 can_create_echo_skb(struct sk_buff *skb) argument
[all...]
/include/linux/
H A Dip.h23 static inline struct iphdr *ip_hdr(const struct sk_buff *skb) argument
25 return (struct iphdr *)skb_network_header(skb);
28 static inline struct iphdr *inner_ip_hdr(const struct sk_buff *skb) argument
30 return (struct iphdr *)skb_inner_network_header(skb);
33 static inline struct iphdr *ipip_hdr(const struct sk_buff *skb) argument
35 return (struct iphdr *)skb_transport_header(skb);
H A Dnetfilter_bridge.h27 static inline unsigned int nf_bridge_encap_header_len(const struct sk_buff *skb) argument
29 switch (skb->protocol) {
39 static inline void nf_bridge_update_protocol(struct sk_buff *skb) argument
41 if (skb->nf_bridge->mask & BRNF_8021Q)
42 skb->protocol = htons(ETH_P_8021Q);
43 else if (skb->nf_bridge->mask & BRNF_PPPoE)
44 skb->protocol = htons(ETH_P_PPP_SES);
52 static inline int nf_bridge_copy_header(struct sk_buff *skb) argument
57 nf_bridge_update_protocol(skb);
58 header_size = ETH_HLEN + nf_bridge_encap_header_len(skb);
69 nf_bridge_maybe_copy_header(struct sk_buff *skb) argument
77 nf_bridge_mtu_reduction(const struct sk_buff *skb) argument
86 br_nf_pre_routing_finish_bridge_slow(struct sk_buff *skb) argument
100 nf_bridge_pad(const struct sk_buff *skb) argument
113 br_drop_fake_rtable(struct sk_buff *skb) argument
[all...]
H A Dskbuff.h43 * not in skb->csum. Thus, skb->csum is undefined in this case.
50 * if their checksums are okay. skb->csum is still undefined in this case
63 * skb->csum_level indicates the number of consecutive checksums found in
67 * GRE (checksum flag is set), and TCP-- skb->csum_level would be set to
70 * checksum is bad, skb->csum_level would be set to zero (TCP checksum is
76 * packet as seen by netif_rx() and fills out in skb->csum. Meaning, the
80 * skb->csum, it MUST use CHECKSUM_COMPLETE, not CHECKSUM_UNNECESSARY.
94 * The skb was already checksummed by the protocol, or a checksum is not
100 * from skb
671 skb_pfmemalloc(const struct sk_buff *skb) argument
689 skb_dst(const struct sk_buff *skb) argument
708 skb_dst_set(struct sk_buff *skb, struct dst_entry *dst) argument
726 skb_dst_set_noref(struct sk_buff *skb, struct dst_entry *dst) argument
742 skb_dst_set_noref_force(struct sk_buff *skb, struct dst_entry *dst) argument
752 skb_dst_is_noref(const struct sk_buff *skb) argument
757 skb_rtable(const struct sk_buff *skb) argument
805 skb_fclone_busy(const struct sock *sk, const struct sk_buff *skb) argument
835 __pskb_copy(struct sk_buff *skb, int headroom, gfp_t gfp_mask) argument
913 skb_set_hash(struct sk_buff *skb, __u32 hash, enum pkt_hash_types type) argument
921 skb_get_hash(struct sk_buff *skb) argument
929 skb_get_hash_raw(const struct sk_buff *skb) argument
934 skb_clear_hash(struct sk_buff *skb) argument
941 skb_clear_hash_if_not_l4(struct sk_buff *skb) argument
955 skb_end_pointer(const struct sk_buff *skb) argument
960 skb_end_offset(const struct sk_buff *skb) argument
965 skb_end_pointer(const struct sk_buff *skb) argument
970 skb_end_offset(const struct sk_buff *skb) argument
979 skb_hwtstamps(struct sk_buff *skb) argument
1002 skb_queue_is_last(const struct sk_buff_head *list, const struct sk_buff *skb) argument
1015 skb_queue_is_first(const struct sk_buff_head *list, const struct sk_buff *skb) argument
1029 skb_queue_next(const struct sk_buff_head *list, const struct sk_buff *skb) argument
1047 skb_queue_prev(const struct sk_buff_head *list, const struct sk_buff *skb) argument
1064 skb_get(struct sk_buff *skb) argument
1083 skb_cloned(const struct sk_buff *skb) argument
1089 skb_unclone(struct sk_buff *skb, gfp_t pri) argument
1106 skb_header_cloned(const struct sk_buff *skb) argument
1127 skb_header_release(struct sk_buff *skb) argument
1141 __skb_header_release(struct sk_buff *skb) argument
1155 skb_shared(const struct sk_buff *skb) argument
1173 skb_share_check(struct sk_buff *skb, gfp_t pri) argument
1208 skb_unshare(struct sk_buff *skb, gfp_t pri) argument
1240 struct sk_buff *skb = list_->next; local
1256 skb_peek_next(struct sk_buff *skb, const struct sk_buff_head *list_) argument
1281 struct sk_buff *skb = list_->prev; local
1499 __skb_unlink(struct sk_buff *skb, struct sk_buff_head *list) argument
1522 struct sk_buff *skb = skb_peek(list); local
1539 struct sk_buff *skb = skb_peek_tail(list); local
1546 skb_is_nonlinear(const struct sk_buff *skb) argument
1551 skb_headlen(const struct sk_buff *skb) argument
1556 skb_pagelen(const struct sk_buff *skb) argument
1578 __skb_fill_page_desc(struct sk_buff *skb, int i, struct page *page, int off, int size) argument
1615 skb_fill_page_desc(struct sk_buff *skb, int i, struct page *page, int off, int size) argument
1633 skb_tail_pointer(const struct sk_buff *skb) argument
1638 skb_reset_tail_pointer(struct sk_buff *skb) argument
1643 skb_set_tail_pointer(struct sk_buff *skb, const int offset) argument
1650 skb_tail_pointer(const struct sk_buff *skb) argument
1655 skb_reset_tail_pointer(struct sk_buff *skb) argument
1660 skb_set_tail_pointer(struct sk_buff *skb, const int offset) argument
1672 __skb_put(struct sk_buff *skb, unsigned int len) argument
1682 __skb_push(struct sk_buff *skb, unsigned int len) argument
1690 __skb_pull(struct sk_buff *skb, unsigned int len) argument
1697 skb_pull_inline(struct sk_buff *skb, unsigned int len) argument
1704 __pskb_pull(struct sk_buff *skb, unsigned int len) argument
1713 pskb_pull(struct sk_buff *skb, unsigned int len) argument
1718 pskb_may_pull(struct sk_buff *skb, unsigned int len) argument
1733 skb_headroom(const struct sk_buff *skb) argument
1744 skb_tailroom(const struct sk_buff *skb) argument
1756 skb_availroom(const struct sk_buff *skb) argument
1772 skb_reserve(struct sk_buff *skb, int len) argument
1781 skb_set_inner_protocol(struct sk_buff *skb, __be16 protocol) argument
1788 skb_set_inner_ipproto(struct sk_buff *skb, __u8 ipproto) argument
1795 skb_reset_inner_headers(struct sk_buff *skb) argument
1802 skb_reset_mac_len(struct sk_buff *skb) argument
1807 skb_inner_transport_header(const struct sk_buff *skb) argument
1813 skb_reset_inner_transport_header(struct sk_buff *skb) argument
1818 skb_set_inner_transport_header(struct sk_buff *skb, const int offset) argument
1825 skb_inner_network_header(const struct sk_buff *skb) argument
1830 skb_reset_inner_network_header(struct sk_buff *skb) argument
1835 skb_set_inner_network_header(struct sk_buff *skb, const int offset) argument
1842 skb_inner_mac_header(const struct sk_buff *skb) argument
1847 skb_reset_inner_mac_header(struct sk_buff *skb) argument
1852 skb_set_inner_mac_header(struct sk_buff *skb, const int offset) argument
1858 skb_transport_header_was_set(const struct sk_buff *skb) argument
1863 skb_transport_header(const struct sk_buff *skb) argument
1868 skb_reset_transport_header(struct sk_buff *skb) argument
1873 skb_set_transport_header(struct sk_buff *skb, const int offset) argument
1880 skb_network_header(const struct sk_buff *skb) argument
1885 skb_reset_network_header(struct sk_buff *skb) argument
1890 skb_set_network_header(struct sk_buff *skb, const int offset) argument
1896 skb_mac_header(const struct sk_buff *skb) argument
1901 skb_mac_header_was_set(const struct sk_buff *skb) argument
1906 skb_reset_mac_header(struct sk_buff *skb) argument
1911 skb_set_mac_header(struct sk_buff *skb, const int offset) argument
1917 skb_pop_mac_header(struct sk_buff *skb) argument
1922 skb_probe_transport_header(struct sk_buff *skb, const int offset_hint) argument
1935 skb_mac_header_rebuild(struct sk_buff *skb) argument
1945 skb_checksum_start_offset(const struct sk_buff *skb) argument
1950 skb_transport_offset(const struct sk_buff *skb) argument
1955 skb_network_header_len(const struct sk_buff *skb) argument
1960 skb_inner_network_header_len(const struct sk_buff *skb) argument
1965 skb_network_offset(const struct sk_buff *skb) argument
1970 skb_inner_network_offset(const struct sk_buff *skb) argument
1975 pskb_network_may_pull(struct sk_buff *skb, unsigned int len) argument
2030 __skb_trim(struct sk_buff *skb, unsigned int len) argument
2042 __pskb_trim(struct sk_buff *skb, unsigned int len) argument
2050 pskb_trim(struct sk_buff *skb, unsigned int len) argument
2064 pskb_trim_unique(struct sk_buff *skb, unsigned int len) argument
2078 skb_orphan(struct sk_buff *skb) argument
2098 skb_orphan_frags(struct sk_buff *skb, gfp_t gfp_mask) argument
2116 struct sk_buff *skb; local
2166 struct sk_buff *skb = __netdev_alloc_skb(dev, length + NET_IP_ALIGN, gfp); local
2189 __skb_alloc_pages(gfp_t gfp_mask, struct sk_buff *skb, unsigned int order) argument
2216 __skb_alloc_page(gfp_t gfp_mask, struct sk_buff *skb) argument
2227 skb_propagate_pfmemalloc(struct page *page, struct sk_buff *skb) argument
2263 skb_frag_ref(struct sk_buff *skb, int f) argument
2286 skb_frag_unref(struct sk_buff *skb, int f) argument
2339 skb_frag_set_page(struct sk_buff *skb, int f, struct page *page) argument
2367 pskb_copy(struct sk_buff *skb, gfp_t gfp_mask) argument
2374 pskb_copy_for_clone(struct sk_buff *skb, gfp_t gfp_mask) argument
2389 skb_clone_writable(const struct sk_buff *skb, unsigned int len) argument
2395 __skb_cow(struct sk_buff *skb, unsigned int headroom, int cloned) argument
2421 skb_cow(struct sk_buff *skb, unsigned int headroom) argument
2436 skb_cow_head(struct sk_buff *skb, unsigned int headroom) argument
2452 skb_padto(struct sk_buff *skb, unsigned int len) argument
2460 skb_add_data(struct sk_buff *skb, char __user *from, int copy) argument
2480 skb_can_coalesce(struct sk_buff *skb, int i, const struct page *page, int off) argument
2492 __skb_linearize(struct sk_buff *skb) argument
2504 skb_linearize(struct sk_buff *skb) argument
2516 skb_has_shared_frag(const struct sk_buff *skb) argument
2529 skb_linearize_cow(struct sk_buff *skb) argument
2546 skb_postpull_rcsum(struct sk_buff *skb, const void *start, unsigned int len) argument
2564 pskb_trim_rcsum(struct sk_buff *skb, unsigned int len) argument
2607 skb_has_frag_list(const struct sk_buff *skb) argument
2612 skb_frag_list_init(struct sk_buff *skb) argument
2617 skb_frag_add_head(struct sk_buff *skb, struct sk_buff *frag) argument
2675 __skb_header_pointer(const struct sk_buff *skb, int offset, int len, void *data, int hlen, void *buffer) argument
2688 skb_header_pointer(const struct sk_buff *skb, int offset, int len, void *buffer) argument
2705 skb_needs_linearize(struct sk_buff *skb, netdev_features_t features) argument
2713 skb_copy_from_linear_data(const struct sk_buff *skb, void *to, const unsigned int len) argument
2720 skb_copy_from_linear_data_offset(const struct sk_buff *skb, const int offset, void *to, const unsigned int len) argument
2727 skb_copy_to_linear_data(struct sk_buff *skb, const void *from, const unsigned int len) argument
2734 skb_copy_to_linear_data_offset(struct sk_buff *skb, const int offset, const void *from, const unsigned int len) argument
2744 skb_get_ktime(const struct sk_buff *skb) argument
2758 skb_get_timestamp(const struct sk_buff *skb, struct timeval *stamp) argument
2764 skb_get_timestampns(const struct sk_buff *skb, struct timespec *stamp) argument
2770 __net_timestamp(struct sk_buff *skb) argument
2794 skb_clone_tx_timestamp(struct sk_buff *skb) argument
2798 skb_defer_rx_timestamp(struct sk_buff *skb) argument
2838 sw_tx_timestamp(struct sk_buff *skb) argument
2857 skb_tx_timestamp(struct sk_buff *skb) argument
2875 skb_csum_unnecessary(const struct sk_buff *skb) argument
2896 skb_checksum_complete(struct sk_buff *skb) argument
2902 __skb_decr_checksum_unnecessary(struct sk_buff *skb) argument
2912 __skb_incr_checksum_unnecessary(struct sk_buff *skb) argument
2923 __skb_mark_checksum_bad(struct sk_buff *skb) argument
2943 __skb_checksum_validate_needed(struct sk_buff *skb, bool zero_okay, __sum16 check) argument
2970 __skb_checksum_validate_complete(struct sk_buff *skb, bool complete, __wsum psum) argument
2997 null_compute_pseudo(struct sk_buff *skb, int proto) argument
3039 __skb_checksum_convert_check(struct sk_buff *skb) argument
3045 __skb_checksum_convert(struct sk_buff *skb, __sum16 check, __wsum pseudo) argument
3084 nf_reset(struct sk_buff *skb) argument
3096 nf_reset_trace(struct sk_buff *skb) argument
3140 skb_init_secmark(struct sk_buff *skb) argument
3148 skb_init_secmark(struct sk_buff *skb) argument
3152 skb_irq_freeable(const struct sk_buff *skb) argument
3165 skb_set_queue_mapping(struct sk_buff *skb, u16 queue_mapping) argument
3170 skb_get_queue_mapping(const struct sk_buff *skb) argument
3180 skb_record_rx_queue(struct sk_buff *skb, u16 rx_queue) argument
3185 skb_get_rx_queue(const struct sk_buff *skb) argument
3190 skb_rx_queue_recorded(const struct sk_buff *skb) argument
3198 skb_sec_path(struct sk_buff *skb) argument
3226 gso_pskb_expand_head(struct sk_buff *skb, int extra) argument
3249 gso_make_checksum(struct sk_buff *skb, __wsum res) argument
3263 skb_is_gso(const struct sk_buff *skb) argument
3269 skb_is_gso_v6(const struct sk_buff *skb) argument
3276 skb_warn_if_lro(const struct sk_buff *skb) argument
3290 skb_forward_csum(struct sk_buff *skb) argument
3305 skb_checksum_none_assert(const struct sk_buff *skb) argument
3329 skb_head_is_locked(const struct sk_buff *skb) argument
3344 skb_gso_network_seglen(const struct sk_buff *skb) argument
[all...]
H A Dicmp.h23 static inline struct icmphdr *icmp_hdr(const struct sk_buff *skb) argument
25 return (struct icmphdr *)skb_transport_header(skb);
H A Dnetfilter_ipv4.h9 int ip_route_me_harder(struct sk_buff *skb, unsigned addr_type);
10 __sum16 nf_ip_checksum(struct sk_buff *skb, unsigned int hook,
H A Dif_ether.h26 static inline struct ethhdr *eth_hdr(const struct sk_buff *skb) argument
28 return (struct ethhdr *)skb_mac_header(skb);
31 int eth_header_parse(const struct sk_buff *skb, unsigned char *haddr);
H A Dif_vlan.h61 static inline struct vlan_ethhdr *vlan_eth_hdr(const struct sk_buff *skb) argument
63 return (struct vlan_ethhdr *)skb_mac_header(skb);
117 * @priority: skb priority
118 * @vlan_qos: vlan priority: (skb->priority << 13) & 0xE000
189 extern bool vlan_do_receive(struct sk_buff **skb);
238 static inline bool vlan_do_receive(struct sk_buff **skb) argument
286 * @skb: skbuff to tag
290 * Inserts the VLAN tag into @skb as part of the payload
291 * Returns a VLAN tagged skb. If a new skb i
298 vlan_insert_tag(struct sk_buff *skb, __be16 vlan_proto, u16 vlan_tci) argument
333 __vlan_put_tag(struct sk_buff *skb, __be16 vlan_proto, u16 vlan_tci) argument
350 __vlan_hwaccel_put_tag(struct sk_buff *skb, __be16 vlan_proto, u16 vlan_tci) argument
367 vlan_put_tag(struct sk_buff *skb, __be16 vlan_proto, u16 vlan_tci) argument
384 __vlan_get_tag(const struct sk_buff *skb, u16 *vlan_tci) argument
403 __vlan_hwaccel_get_tag(const struct sk_buff *skb, u16 *vlan_tci) argument
424 vlan_get_tag(const struct sk_buff *skb, u16 *vlan_tci) argument
440 vlan_get_protocol(const struct sk_buff *skb) argument
459 vlan_set_encap_proto(struct sk_buff *skb, struct vlan_hdr *vhdr) argument
[all...]
/include/net/
H A Dllc_c_ev.h123 static __inline__ struct llc_conn_state_ev *llc_conn_ev(struct sk_buff *skb) argument
125 return (struct llc_conn_state_ev *)skb->cb;
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);
219 llc_conn_space(struct sock *sk, struct sk_buff *skb) argument
[all...]
H A 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...]
H A Desp.h8 static inline struct ip_esp_hdr *ip_esp_hdr(const struct sk_buff *skb) argument
10 return (struct ip_esp_hdr *)skb_transport_header(skb);
H A Dx25device.h9 static inline __be16 x25_type_trans(struct sk_buff *skb, struct net_device *dev) argument
11 skb->dev = dev;
12 skb_reset_mac_header(skb);
13 skb->pkt_type = PACKET_HOST;
H A 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);
[all...]
H A Dudplite.h20 int len, int odd, struct sk_buff *skb)
35 static inline int udplite_checksum_init(struct sk_buff *skb, struct udphdr *uh) argument
51 else if (cscov < 8 || cscov > skb->len) {
56 cscov, skb->len);
59 } else if (cscov < skb->len) {
60 UDP_SKB_CB(skb)->partial_cov = 1;
61 UDP_SKB_CB(skb)->cscov = cscov;
62 if (skb->ip_summed == CHECKSUM_COMPLETE)
63 skb->ip_summed = CHECKSUM_NONE;
70 static inline __wsum udplite_csum_outgoing(struct sock *sk, struct sk_buff *skb) argument
19 udplite_getfrag(void *from, char *to, int offset, int len, int odd, struct sk_buff *skb) argument
113 udplite_csum(struct sk_buff *skb) argument
[all...]
H A Dllc_s_ev.h47 static __inline__ struct llc_sap_state_ev *llc_sap_ev(struct sk_buff *skb) argument
49 return (struct llc_sap_state_ev *)skb->cb;
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);
[all...]
H A Dah.h17 static inline struct ip_auth_hdr *ip_auth_hdr(const struct sk_buff *skb) argument
19 return (struct ip_auth_hdr *)skb_transport_header(skb);
H A Dipcomp.h19 int ipcomp_input(struct xfrm_state *x, struct sk_buff *skb);
20 int ipcomp_output(struct xfrm_state *x, struct sk_buff *skb);
24 static inline struct ip_comp_hdr *ip_comp_hdr(const struct sk_buff *skb) argument
26 return (struct ip_comp_hdr *)skb_transport_header(skb);
H A Dtso.h14 int tso_count_descs(struct sk_buff *skb);
15 void tso_build_hdr(struct sk_buff *skb, char *hdr, struct tso_t *tso,
17 void tso_build_data(struct sk_buff *skb, struct tso_t *tso, int size);
18 void tso_start(struct sk_buff *skb, struct tso_t *tso);
H A Dip6_checksum.h44 static inline __wsum ip6_compute_pseudo(struct sk_buff *skb, int proto) argument
46 return ~csum_unfold(csum_ipv6_magic(&ipv6_hdr(skb)->saddr,
47 &ipv6_hdr(skb)->daddr,
48 skb->len, proto, 0));
51 static inline __wsum ip6_gro_compute_pseudo(struct sk_buff *skb, int proto) argument
53 const struct ipv6hdr *iph = skb_gro_network_header(skb);
56 skb_gro_len(skb), proto, 0));
67 static inline void __tcp_v6_send_check(struct sk_buff *skb, argument
71 struct tcphdr *th = tcp_hdr(skb);
73 if (skb
85 tcp_v6_send_check(struct sock *sk, struct sk_buff *skb) argument
[all...]
H A Dflow_keys.h30 bool __skb_flow_dissect(const struct sk_buff *skb, struct flow_keys *flow,
32 static inline bool skb_flow_dissect(const struct sk_buff *skb, struct flow_keys *flow) argument
34 return __skb_flow_dissect(skb, flow, NULL, 0, 0, 0);
36 __be32 __skb_flow_get_ports(const struct sk_buff *skb, int thoff, u8 ip_proto,
38 static inline __be32 skb_flow_get_ports(const struct sk_buff *skb, int thoff, u8 ip_proto) argument
40 return __skb_flow_get_ports(skb, thoff, ip_proto, NULL, 0);
/include/trace/events/
H A Dnet.h15 TP_PROTO(const struct sk_buff *skb, const struct net_device *dev),
17 TP_ARGS(skb, dev),
41 __entry->queue_mapping = skb->queue_mapping;
42 __entry->skbaddr = skb;
43 __entry->vlan_tagged = vlan_tx_tag_present(skb);
44 __entry->vlan_proto = ntohs(skb->vlan_proto);
45 __entry->vlan_tci = vlan_tx_tag_get(skb);
46 __entry->protocol = ntohs(skb->protocol);
47 __entry->ip_summed = skb->ip_summed;
48 __entry->len = skb
[all...]
H A Dskb.h2 #define TRACE_SYSTEM skb
16 TP_PROTO(struct sk_buff *skb, void *location),
18 TP_ARGS(skb, location),
27 __entry->skbaddr = skb;
29 __entry->protocol = ntohs(skb->protocol);
38 TP_PROTO(struct sk_buff *skb),
40 TP_ARGS(skb),
47 __entry->skbaddr = skb;
55 TP_PROTO(const struct sk_buff *skb, int len),
57 TP_ARGS(skb, le
[all...]
/include/linux/netfilter_bridge/
H A Debt_802_3.h7 static inline struct ebt_802_3_hdr *ebt_802_3_hdr(const struct sk_buff *skb) argument
9 return (struct ebt_802_3_hdr *)skb_mac_header(skb);
/include/net/netfilter/ipv6/
H A Dnf_defrag_ipv6.h8 struct sk_buff *nf_ct_frag6_gather(struct sk_buff *skb, u32 user);
9 void nf_ct_frag6_consume_orig(struct sk_buff *skb);
/include/linux/netfilter/
H A Dnf_conntrack_snmp.h4 extern int (*nf_nat_snmp_hook)(struct sk_buff *skb,

Completed in 520 milliseconds

12345678910