Home
last modified time | relevance | path

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

12

/linux-6.1.9/include/linux/
Dif_vlan.h79 #define skb_vlan_tag_present(__skb) ((__skb)->vlan_present) argument
80 #define skb_vlan_tag_get(__skb) ((__skb)->vlan_tci) argument
81 #define skb_vlan_tag_get_id(__skb) ((__skb)->vlan_tci & VLAN_VID_MASK) argument
82 #define skb_vlan_tag_get_cfi(__skb) (!!((__skb)->vlan_tci & VLAN_CFI_MASK)) argument
83 #define skb_vlan_tag_get_prio(__skb) (((__skb)->vlan_tci & VLAN_PRIO_MASK) >> VLAN_PRIO_SHIFT) argument
Dllc.h22 #define llc_ui_skb_cb(__skb) ((struct sockaddr_llc *)&((__skb)->cb[0])) argument
/linux-6.1.9/net/bpf/
Dtest_run.c979 static int convert___skb_to_skb(struct sk_buff *skb, struct __sk_buff *__skb) in convert___skb_to_skb() argument
983 if (!__skb) in convert___skb_to_skb()
987 if (!range_is_zero(__skb, 0, offsetof(struct __sk_buff, mark))) in convert___skb_to_skb()
992 if (!range_is_zero(__skb, offsetofend(struct __sk_buff, mark), in convert___skb_to_skb()
1000 if (!range_is_zero(__skb, offsetofend(struct __sk_buff, ifindex), in convert___skb_to_skb()
1006 if (!range_is_zero(__skb, offsetofend(struct __sk_buff, cb), in convert___skb_to_skb()
1014 if (!range_is_zero(__skb, offsetofend(struct __sk_buff, gso_segs), in convert___skb_to_skb()
1020 if (!range_is_zero(__skb, offsetofend(struct __sk_buff, gso_size), in convert___skb_to_skb()
1026 if (!range_is_zero(__skb, offsetofend(struct __sk_buff, hwtstamp), in convert___skb_to_skb()
1030 skb->mark = __skb->mark; in convert___skb_to_skb()
[all …]
/linux-6.1.9/drivers/net/ethernet/sun/
Dsunhme.h502 ({ struct sk_buff *__skb; \
503 __skb = alloc_skb((__length) + 64, (__gfp_flags)); \
504 if(__skb) { \
505 int __offset = (int) ALIGNED_RX_SKB_ADDR(__skb->data); \
507 skb_reserve(__skb, __offset); \
509 __skb; \
/linux-6.1.9/drivers/net/dsa/hirschmann/
Dhellcreek_hwtstamp.h31 #define SKB_PTP_TYPE(__skb) (*(unsigned int *)((__skb)->cb)) argument
/linux-6.1.9/include/net/iucv/
Daf_iucv.h148 #define IUCV_SKB_CB(__skb) ((struct iucv_skb_cb *)&((__skb)->cb[0])) argument
/linux-6.1.9/drivers/net/wwan/t7xx/
Dt7xx_hif_dpmaif.h41 #define T7XX_SKB_CB(__skb) ((struct t7xx_skb_cb *)(__skb)->cb) argument
/linux-6.1.9/net/batman-adv/
Dmain.h377 #define BATADV_SKB_CB(__skb) ((struct batadv_skb_cb *)&((__skb)->cb[0])) argument
/linux-6.1.9/net/nfc/
Dllcp.h146 #define nfc_llcp_ui_skb_cb(__skb) ((struct nfc_llcp_ui_cb *)&((__skb)->cb[0])) argument
/linux-6.1.9/include/net/
Dxfrm.h608 #define XFRM_TUNNEL_SKB_CB(__skb) ((struct xfrm_tunnel_skb_cb *)&((__skb)->cb[0])) argument
631 #define XFRM_SKB_CB(__skb) ((struct xfrm_skb_cb *)&((__skb)->cb[0])) argument
663 #define XFRM_MODE_SKB_CB(__skb) ((struct xfrm_mode_skb_cb *)&((__skb)->cb[0])) argument
677 #define XFRM_SPI_SKB_CB(__skb) ((struct xfrm_spi_skb_cb *)&((__skb)->cb[0])) argument
Dudp.h49 #define UDP_SKB_CB(__skb) ((struct udp_skb_cb *)((__skb)->cb)) argument
/linux-6.1.9/net/dccp/
Ddccp.h349 #define DCCP_SKB_CB(__skb) ((struct dccp_skb_cb *)&((__skb)->cb[0])) argument
/linux-6.1.9/include/net/sctp/
Dstructs.h1153 #define SCTP_INPUT_CB(__skb) ((struct sctp_input_cb *)&((__skb)->cb[0])) argument
1158 #define SCTP_OUTPUT_CB(__skb) ((struct sctp_output_cb *)&((__skb)->cb[0])) argument
/linux-6.1.9/drivers/net/dsa/mv88e6xxx/
Dhwtstamp.c19 #define SKB_PTP_TYPE(__skb) (*(unsigned int *)((__skb)->cb)) argument
/linux-6.1.9/net/ipv4/
Dah4.c23 #define AH_SKB_CB(__skb) ((struct ah_skb_cb *)&((__skb)->cb[0])) argument
Desp4.c36 #define ESP_SKB_CB(__skb) ((struct esp_skb_cb *)&((__skb)->cb[0])) argument
/linux-6.1.9/net/bridge/
Dbr_private.h587 #define BR_INPUT_SKB_CB(__skb) ((struct br_input_skb_cb *)(__skb)->cb) argument
590 # define BR_INPUT_SKB_CB_MROUTERS_ONLY(__skb) (BR_INPUT_SKB_CB(__skb)->mrouters_only) argument
592 # define BR_INPUT_SKB_CB_MROUTERS_ONLY(__skb) (0) argument
/linux-6.1.9/net/ipv6/
Dah6.c47 #define AH_SKB_CB(__skb) ((struct ah_skb_cb *)&((__skb)->cb[0])) argument
Desp6.c52 #define ESP_SKB_CB(__skb) ((struct esp_skb_cb *)&((__skb)->cb[0])) argument
/linux-6.1.9/net/xfrm/
Dxfrm_input.c44 #define XFRM_TRANS_SKB_CB(__skb) ((struct xfrm_trans_cb *)&((__skb)->cb[0])) argument
/linux-6.1.9/drivers/net/wireless/ralink/rt2x00/
Drt2x00.h99 #define ALIGN_SIZE(__skb, __header) \ argument
100 (((unsigned long)((__skb)->data + (__header))) & 3)
/linux-6.1.9/net/rxrpc/
Dar-internal.h197 #define rxrpc_skb(__skb) ((struct rxrpc_skb_priv *) &(__skb)->cb) argument
/linux-6.1.9/net/tipc/
Dmsg.h146 #define TIPC_SKB_CB(__skb) ((struct tipc_skb_cb *)&((__skb)->cb[0])) argument
/linux-6.1.9/drivers/net/wireless/ath/ath9k/
Drecv.c21 #define SKB_CB_ATHBUF(__skb) (*((struct ath_rxbuf **)__skb->cb)) argument
/linux-6.1.9/net/core/
Ddrop_monitor.c128 #define NET_DM_SKB_CB(__skb) ((struct net_dm_skb_cb *)&((__skb)->cb[0])) argument

12