Home
last modified time | relevance | path

Searched refs:__skb (Results 1 – 25 of 29) sorted by relevance

12

/linux/net/bpf/
H A Dtest_run.c882 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 Dif_vlan.h87 #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 Dllc.h22 #define llc_ui_skb_cb(__skb) ((struct sockaddr_llc *)&((__skb)->cb[0])) argument
/linux/drivers/net/ethernet/sun/
H A Dsunhme.h500 ({ 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 Dhellcreek_hwtstamp.h31 #define SKB_PTP_TYPE(__skb) (*(unsigned int *)((__skb)->cb)) argument
/linux/include/net/iucv/
H A Daf_iucv.h148 #define IUCV_SKB_CB(__skb) ((struct iucv_skb_cb *)&((__skb)->cb[0])) argument
/linux/drivers/net/wwan/t7xx/
H A Dt7xx_hif_dpmaif.h42 #define T7XX_SKB_CB(__skb) ((struct t7xx_skb_cb *)(__skb)->cb) argument
/linux/net/nfc/
H A Dllcp.h146 #define nfc_llcp_ui_skb_cb(__skb) ((struct nfc_llcp_ui_cb *)&((__skb)->cb[0])) argument
/linux/include/net/
H A Dxfrm.h674 #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 Dudp.h50 #define UDP_SKB_CB(__skb) ((struct udp_skb_cb *)((__skb)->cb)) argument
/linux/net/dccp/
H A Ddccp.h350 #define DCCP_SKB_CB(__skb) ((struct dccp_skb_cb *)&((__skb)->cb[0])) argument
/linux/include/net/sctp/
H A Dstructs.h1149 #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 Dhwtstamp.c19 #define SKB_PTP_TYPE(__skb) (*(unsigned int *)((__skb)->cb)) argument
/linux/net/ipv4/
H A Dah4.c23 #define AH_SKB_CB(__skb) ((struct ah_skb_cb *)&((__skb)->cb[0])) argument
H A Desp4.c37 #define ESP_SKB_CB(__skb) ((struct esp_skb_cb *)&((__skb)->cb[0])) argument
/linux/net/ipv6/
H A Dah6.c47 #define AH_SKB_CB(__skb) ((struct ah_skb_cb *)&((__skb)->cb[0])) argument
H A Desp6.c53 #define ESP_SKB_CB(__skb) ((struct esp_skb_cb *)&((__skb)->cb[0])) argument
/linux/net/bridge/
H A Dbr_private.h620 #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 Drt2x00.h99 #define ALIGN_SIZE(__skb, __header) \ argument
100 (((unsigned long)((__skb)->data + (__header))) & 3)
/linux/net/tipc/
H A Dmsg.h146 #define TIPC_SKB_CB(__skb) ((struct tipc_skb_cb *)&((__skb)->cb[0])) argument
/linux/net/rxrpc/
H A Dar-internal.h221 #define rxrpc_skb(__skb) ((struct rxrpc_skb_priv *) &(__skb)->cb) argument
/linux/drivers/net/wireless/ath/ath9k/
H A Drecv.c21 #define SKB_CB_ATHBUF(__skb) (*((struct ath_rxbuf **)__skb->cb)) argument
/linux/net/mptcp/
H A Dprotocol.h135 #define MPTCP_SKB_CB(__skb) ((struct mptcp_skb_cb *)&((__skb)->cb[0])) argument
/linux/net/core/
H A Ddrop_monitor.c131 #define NET_DM_SKB_CB(__skb) ((struct net_dm_skb_cb *)&((__skb)->cb[0])) argument
/linux/drivers/net/
H A Dmacvlan.c70 #define MACVLAN_SKB_CB(__skb) ((struct macvlan_skb_cb *)&((__skb)->cb[0])) argument

12