/linux/net/bpf/ |
H A D | test_run.c | 882 static int convert___skb_to_skb(struct sk_buff *skb, struct __sk_buff *__skb) in convert___skb_to_skb() argument 886 if (!__skb) in convert___skb_to_skb() 890 if (!range_is_zero(__skb, 0, offsetof(struct __sk_buff, mark))) in convert___skb_to_skb() 895 if (!range_is_zero(__skb, offsetofend(struct __sk_buff, mark), in convert___skb_to_skb() 903 if (!range_is_zero(__skb, offsetofend(struct __sk_buff, ifindex), in convert___skb_to_skb() 909 if (!range_is_zero(__skb, offsetofend(struct __sk_buff, cb), in convert___skb_to_skb() 917 if (!range_is_zero(__skb, offsetofend(struct __sk_buff, gso_segs), in convert___skb_to_skb() 923 if (!range_is_zero(__skb, offsetofend(struct __sk_buff, gso_size), in convert___skb_to_skb() 929 if (!range_is_zero(__skb, offsetofend(struct __sk_buff, hwtstamp), in convert___skb_to_skb() 933 skb->mark = __skb->mark; in convert___skb_to_skb() [all …]
|
/linux/include/linux/ |
H A D | if_vlan.h | 87 #define skb_vlan_tag_present(__skb) (!!(__skb)->vlan_all) argument 88 #define skb_vlan_tag_get(__skb) ((__skb)->vlan_tci) argument 89 #define skb_vlan_tag_get_id(__skb) ((__skb)->vlan_tci & VLAN_VID_MASK) argument 90 #define skb_vlan_tag_get_cfi(__skb) (!!((__skb)->vlan_tci & VLAN_CFI_MASK)) argument 91 #define skb_vlan_tag_get_prio(__skb) (((__skb)->vlan_tci & VLAN_PRIO_MASK) >> VLAN_PRIO_SHIFT) argument
|
H A D | llc.h | 22 #define llc_ui_skb_cb(__skb) ((struct sockaddr_llc *)&((__skb)->cb[0])) argument
|
/linux/drivers/net/ethernet/sun/ |
H A D | sunhme.h | 500 ({ struct sk_buff *__skb; \ 501 __skb = alloc_skb((__length) + 64, (__gfp_flags)); \ 502 if(__skb) { \ 503 int __offset = (int) ALIGNED_RX_SKB_ADDR(__skb->data); \ 505 skb_reserve(__skb, __offset); \ 507 __skb; \
|
/linux/drivers/net/dsa/hirschmann/ |
H A D | hellcreek_hwtstamp.h | 31 #define SKB_PTP_TYPE(__skb) (*(unsigned int *)((__skb)->cb)) argument
|
/linux/include/net/iucv/ |
H A D | af_iucv.h | 148 #define IUCV_SKB_CB(__skb) ((struct iucv_skb_cb *)&((__skb)->cb[0])) argument
|
/linux/drivers/net/wwan/t7xx/ |
H A D | t7xx_hif_dpmaif.h | 42 #define T7XX_SKB_CB(__skb) ((struct t7xx_skb_cb *)(__skb)->cb) argument
|
/linux/net/nfc/ |
H A D | llcp.h | 146 #define nfc_llcp_ui_skb_cb(__skb) ((struct nfc_llcp_ui_cb *)&((__skb)->cb[0])) argument
|
/linux/include/net/ |
H A D | xfrm.h | 674 #define XFRM_TUNNEL_SKB_CB(__skb) ((struct xfrm_tunnel_skb_cb *)&((__skb)->cb[0])) argument 697 #define XFRM_SKB_CB(__skb) ((struct xfrm_skb_cb *)&((__skb)->cb[0])) argument 729 #define XFRM_MODE_SKB_CB(__skb) ((struct xfrm_mode_skb_cb *)&((__skb)->cb[0])) argument 743 #define XFRM_SPI_SKB_CB(__skb) ((struct xfrm_spi_skb_cb *)&((__skb)->cb[0])) argument
|
H A D | udp.h | 50 #define UDP_SKB_CB(__skb) ((struct udp_skb_cb *)((__skb)->cb)) argument
|
/linux/net/dccp/ |
H A D | dccp.h | 350 #define DCCP_SKB_CB(__skb) ((struct dccp_skb_cb *)&((__skb)->cb[0])) argument
|
/linux/include/net/sctp/ |
H A D | structs.h | 1149 #define SCTP_INPUT_CB(__skb) ((struct sctp_input_cb *)&((__skb)->cb[0])) argument 1154 #define SCTP_OUTPUT_CB(__skb) ((struct sctp_output_cb *)&((__skb)->cb[0])) argument
|
/linux/drivers/net/dsa/mv88e6xxx/ |
H A D | hwtstamp.c | 19 #define SKB_PTP_TYPE(__skb) (*(unsigned int *)((__skb)->cb)) argument
|
/linux/net/ipv4/ |
H A D | ah4.c | 23 #define AH_SKB_CB(__skb) ((struct ah_skb_cb *)&((__skb)->cb[0])) argument
|
H A D | esp4.c | 37 #define ESP_SKB_CB(__skb) ((struct esp_skb_cb *)&((__skb)->cb[0])) argument
|
/linux/net/ipv6/ |
H A D | ah6.c | 47 #define AH_SKB_CB(__skb) ((struct ah_skb_cb *)&((__skb)->cb[0])) argument
|
H A D | esp6.c | 53 #define ESP_SKB_CB(__skb) ((struct esp_skb_cb *)&((__skb)->cb[0])) argument
|
/linux/net/bridge/ |
H A D | br_private.h | 620 #define BR_INPUT_SKB_CB(__skb) ((struct br_input_skb_cb *)(__skb)->cb) argument 623 # define BR_INPUT_SKB_CB_MROUTERS_ONLY(__skb) (BR_INPUT_SKB_CB(__skb)->mrouters_only) argument 625 # define BR_INPUT_SKB_CB_MROUTERS_ONLY(__skb) (0) argument
|
/linux/drivers/net/wireless/ralink/rt2x00/ |
H A D | rt2x00.h | 99 #define ALIGN_SIZE(__skb, __header) \ argument 100 (((unsigned long)((__skb)->data + (__header))) & 3)
|
/linux/net/tipc/ |
H A D | msg.h | 146 #define TIPC_SKB_CB(__skb) ((struct tipc_skb_cb *)&((__skb)->cb[0])) argument
|
/linux/net/rxrpc/ |
H A D | ar-internal.h | 221 #define rxrpc_skb(__skb) ((struct rxrpc_skb_priv *) &(__skb)->cb) argument
|
/linux/drivers/net/wireless/ath/ath9k/ |
H A D | recv.c | 21 #define SKB_CB_ATHBUF(__skb) (*((struct ath_rxbuf **)__skb->cb)) argument
|
/linux/net/mptcp/ |
H A D | protocol.h | 135 #define MPTCP_SKB_CB(__skb) ((struct mptcp_skb_cb *)&((__skb)->cb[0])) argument
|
/linux/net/core/ |
H A D | drop_monitor.c | 131 #define NET_DM_SKB_CB(__skb) ((struct net_dm_skb_cb *)&((__skb)->cb[0])) argument
|
/linux/drivers/net/ |
H A D | macvlan.c | 70 #define MACVLAN_SKB_CB(__skb) ((struct macvlan_skb_cb *)&((__skb)->cb[0])) argument
|