Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/net/bpf/
Dtest_run.c398 static int convert___skb_to_skb(struct sk_buff *skb, struct __sk_buff *__skb) in convert___skb_to_skb() argument
402 if (!__skb) in convert___skb_to_skb()
406 if (!range_is_zero(__skb, 0, offsetof(struct __sk_buff, mark))) in convert___skb_to_skb()
411 if (!range_is_zero(__skb, offsetofend(struct __sk_buff, mark), in convert___skb_to_skb()
417 if (!range_is_zero(__skb, offsetofend(struct __sk_buff, priority), in convert___skb_to_skb()
423 if (!range_is_zero(__skb, offsetofend(struct __sk_buff, ifindex), in convert___skb_to_skb()
429 if (!range_is_zero(__skb, offsetofend(struct __sk_buff, cb), in convert___skb_to_skb()
437 if (!range_is_zero(__skb, offsetofend(struct __sk_buff, gso_segs), in convert___skb_to_skb()
443 if (!range_is_zero(__skb, offsetofend(struct __sk_buff, gso_size), in convert___skb_to_skb()
447 skb->mark = __skb->mark; in convert___skb_to_skb()
[all …]
/kernel/linux/linux-5.10/include/linux/
Dif_vlan.h77 #define skb_vlan_tag_present(__skb) ((__skb)->vlan_present) argument
78 #define skb_vlan_tag_get(__skb) ((__skb)->vlan_tci) argument
79 #define skb_vlan_tag_get_id(__skb) ((__skb)->vlan_tci & VLAN_VID_MASK) argument
80 #define skb_vlan_tag_get_cfi(__skb) (!!((__skb)->vlan_tci & VLAN_CFI_MASK)) argument
81 #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
/kernel/linux/linux-5.10/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; \
/kernel/linux/linux-5.10/include/net/iucv/
Daf_iucv.h145 #define IUCV_SKB_CB(__skb) ((struct iucv_skb_cb *)&((__skb)->cb[0])) argument
/kernel/linux/linux-5.10/include/net/
Dipx.h117 #define IPX_SKB_CB(__skb) ((struct ipx_cb *)&((__skb)->cb[0])) argument
Dxfrm.h605 #define XFRM_TUNNEL_SKB_CB(__skb) ((struct xfrm_tunnel_skb_cb *)&((__skb)->cb[0])) argument
628 #define XFRM_SKB_CB(__skb) ((struct xfrm_skb_cb *)&((__skb)->cb[0])) argument
660 #define XFRM_MODE_SKB_CB(__skb) ((struct xfrm_mode_skb_cb *)&((__skb)->cb[0])) argument
674 #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
/kernel/linux/linux-5.10/net/batman-adv/
Dmain.h381 #define BATADV_SKB_CB(__skb) ((struct batadv_skb_cb *)&((__skb)->cb[0])) argument
/kernel/linux/linux-5.10/net/nfc/
Dllcp.h147 #define nfc_llcp_ui_skb_cb(__skb) ((struct nfc_llcp_ui_cb *)&((__skb)->cb[0])) argument
/kernel/linux/linux-5.10/net/bridge/
Dbr_private.h510 #define BR_INPUT_SKB_CB(__skb) ((struct br_input_skb_cb *)(__skb)->cb) argument
513 # define BR_INPUT_SKB_CB_MROUTERS_ONLY(__skb) (BR_INPUT_SKB_CB(__skb)->mrouters_only) argument
515 # define BR_INPUT_SKB_CB_MROUTERS_ONLY(__skb) (0) argument
/kernel/linux/linux-5.10/net/dccp/
Ddccp.h354 #define DCCP_SKB_CB(__skb) ((struct dccp_skb_cb *)&((__skb)->cb[0])) argument
/kernel/linux/linux-5.10/include/net/sctp/
Dstructs.h1128 #define SCTP_INPUT_CB(__skb) ((struct sctp_input_cb *)&((__skb)->cb[0])) argument
1133 #define SCTP_OUTPUT_CB(__skb) ((struct sctp_output_cb *)&((__skb)->cb[0])) argument
/kernel/linux/linux-5.10/drivers/net/dsa/mv88e6xxx/
Dhwtstamp.c19 #define SKB_PTP_TYPE(__skb) (*(unsigned int *)((__skb)->cb)) argument
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/drivers/net/wireless/ralink/rt2x00/
Drt2x00.h99 #define ALIGN_SIZE(__skb, __header) \ argument
100 (((unsigned long)((__skb)->data + (__header))) & 3)
/kernel/linux/linux-5.10/net/xfrm/
Dxfrm_input.c42 #define XFRM_TRANS_SKB_CB(__skb) ((struct xfrm_trans_cb *)&((__skb)->cb[0])) argument
/kernel/linux/linux-5.10/net/rxrpc/
Dar-internal.h195 #define rxrpc_skb(__skb) ((struct rxrpc_skb_priv *) &(__skb)->cb) argument
/kernel/linux/linux-5.10/net/tipc/
Dmsg.h146 #define TIPC_SKB_CB(__skb) ((struct tipc_skb_cb *)&((__skb)->cb[0])) argument
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/
Drecv.c21 #define SKB_CB_ATHBUF(__skb) (*((struct ath_rxbuf **)__skb->cb)) argument
/kernel/linux/linux-5.10/net/core/
Ddrop_monitor.c130 #define NET_DM_SKB_CB(__skb) ((struct net_dm_skb_cb *)&((__skb)->cb[0])) argument
/kernel/linux/linux-5.10/drivers/net/
Dmacvlan.c67 #define MACVLAN_SKB_CB(__skb) ((struct macvlan_skb_cb *)&((__skb)->cb[0])) argument

12