Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/
Dbase.h49 #define SET_80211_PS_POLL_AID(_hdr, _val) \ argument
50 (*(u16 *)((u8 *)(_hdr) + 2) = _val)
51 #define SET_80211_PS_POLL_BSSID(_hdr, _val) \ argument
52 ether_addr_copy(((u8 *)(_hdr)) + 4, (u8 *)(_val))
53 #define SET_80211_PS_POLL_TA(_hdr, _val) \ argument
54 ether_addr_copy(((u8 *)(_hdr))+10, (u8 *)(_val))
56 #define SET_80211_HDR_ADDRESS1(_hdr, _val) \ argument
57 CP_MACADDR((u8 *)(_hdr)+FRAME_OFFSET_ADDRESS1, (u8 *)(_val))
58 #define SET_80211_HDR_ADDRESS2(_hdr, _val) \ argument
59 CP_MACADDR((u8 *)(_hdr)+FRAME_OFFSET_ADDRESS2, (u8 *)(_val))
[all …]
/kernel/linux/linux-5.10/net/tipc/
Dmsg.c206 int tipc_msg_append(struct tipc_msg *_hdr, struct msghdr *m, int dlen, in tipc_msg_append() argument
226 skb_copy_to_linear_data(skb, _hdr, MIN_H_SIZE); in tipc_msg_append()
315 struct tipc_msg *_hdr; in tipc_msg_fragment() local
346 _hdr = buf_msg(_skb); in tipc_msg_fragment()
347 msg_set_fragm_no(_hdr, pktno); in tipc_msg_fragment()
348 msg_set_nof_fragms(_hdr, nof_fragms); in tipc_msg_fragment()
349 msg_set_size(_hdr, INT_H_SIZE + eat); in tipc_msg_fragment()
628 struct tipc_msg *_hdr, *hdr; in tipc_msg_reverse() local
633 _hdr = buf_msg(_skb); in tipc_msg_reverse()
634 dlen = min_t(uint, msg_data_sz(_hdr), MAX_FORWARD_SIZE); in tipc_msg_reverse()
[all …]
Dbcast.c321 struct tipc_msg *hdr, *_hdr; in tipc_mcast_send_sync() local
350 _hdr = buf_msg(_skb); in tipc_mcast_send_sync()
351 msg_set_size(_hdr, MCAST_H_SIZE); in tipc_mcast_send_sync()
352 msg_set_is_rcast(_hdr, !msg_is_rcast(hdr)); in tipc_mcast_send_sync()
353 msg_set_errcode(_hdr, TIPC_ERR_NO_PORT); in tipc_mcast_send_sync()
788 struct tipc_msg *hdr, *_hdr; in tipc_mcast_filter_msg() local
809 _hdr = buf_msg(_skb); in tipc_mcast_filter_msg()
810 if (msg_orignode(_hdr) != node) in tipc_mcast_filter_msg()
812 if (msg_origport(_hdr) != port) in tipc_mcast_filter_msg()
828 if (msg_is_rcast(hdr) != msg_is_rcast(_hdr)) in tipc_mcast_filter_msg()
[all …]
Dgroup.c473 struct tipc_msg *_hdr, *hdr = buf_msg(skb); in tipc_group_sort_msg() local
481 _hdr = buf_msg(_skb); in tipc_group_sort_msg()
482 if (!less(bc_seqno, msg_grp_bc_seqno(_hdr))) in tipc_group_sort_msg()
/kernel/linux/linux-5.10/net/ipv6/
Dexthdrs_core.c80 struct ipv6_opt_hdr _hdr, *hp; in ipv6_skip_exthdr() local
85 hp = skb_header_pointer(skb, start, sizeof(_hdr), &_hdr); in ipv6_skip_exthdr()
207 struct ipv6_opt_hdr _hdr, *hp; in ipv6_find_hdr() local
217 hp = skb_header_pointer(skb, start, sizeof(_hdr), &_hdr); in ipv6_find_hdr()
Dmip6.c76 struct ip6_mh _hdr; in mip6_mh_filter() local
80 sizeof(_hdr), &_hdr); in mip6_mh_filter()
Draw.c111 struct icmp6hdr _hdr; in icmpv6_filter() local
118 ICMPV6_HDRLEN, &_hdr); in icmpv6_filter()
/kernel/linux/linux-5.10/net/ipv4/netfilter/
Dnf_tproxy_ipv4.c23 struct tcphdr _hdr, *hp; in nf_tproxy_handle_time_wait4() local
25 hp = skb_header_pointer(skb, ip_hdrlen(skb), sizeof(_hdr), &_hdr); in nf_tproxy_handle_time_wait4()
86 struct tcphdr _hdr, *hp; in nf_tproxy_get_sock_v4() local
89 sizeof(struct tcphdr), &_hdr); in nf_tproxy_get_sock_v4()
Dnf_socket_ipv4.c99 struct tcphdr _hdr; in nf_sk_lookup_slow_v4() local
104 sizeof(*hp) : sizeof(_hdr), &_hdr); in nf_sk_lookup_slow_v4()
/kernel/linux/linux-5.10/net/ipv6/netfilter/
Dnf_tproxy_ipv6.c46 struct tcphdr _hdr, *hp; in nf_tproxy_handle_time_wait6() local
48 hp = skb_header_pointer(skb, thoff, sizeof(_hdr), &_hdr); in nf_tproxy_handle_time_wait6()
87 struct tcphdr _hdr, *hp; in nf_tproxy_get_sock_v6() local
90 sizeof(struct tcphdr), &_hdr); in nf_tproxy_get_sock_v6()
Dip6t_ipv6header.c47 struct ipv6_opt_hdr _hdr; in ipv6header_mt6() local
64 hp = skb_header_pointer(skb, ptr, sizeof(_hdr), &_hdr); in ipv6header_mt6()
Dnf_socket_ipv6.c114 struct tcphdr _hdr; in nf_sk_lookup_slow_v6() local
118 sizeof(*hp) : sizeof(_hdr), &_hdr); in nf_sk_lookup_slow_v6()
Dnf_log_ipv6.c74 struct ipv6_opt_hdr _hdr; in dump_ipv6_packet() local
77 hp = skb_header_pointer(skb, ptr, sizeof(_hdr), &_hdr); in dump_ipv6_packet()
/kernel/linux/linux-5.10/net/bridge/
Dbr_mrp.c820 struct br_mrp_tlv_hdr _hdr; in br_mrp_ring_frame() local
822 hdr = skb_header_pointer(skb, sizeof(uint16_t), sizeof(_hdr), &_hdr); in br_mrp_ring_frame()
840 struct br_mrp_tlv_hdr _hdr; in br_mrp_in_frame() local
842 hdr = skb_header_pointer(skb, sizeof(uint16_t), sizeof(_hdr), &_hdr); in br_mrp_in_frame()
863 struct br_mrp_tlv_hdr _hdr; in br_mrp_mrm_process() local
868 hdr = skb_header_pointer(skb, sizeof(uint16_t), sizeof(_hdr), &_hdr); in br_mrp_mrm_process()
910 struct br_mrp_tlv_hdr _hdr; in br_mrp_mra_process() local
915 hdr = skb_header_pointer(skb, sizeof(uint16_t), sizeof(_hdr), &_hdr); in br_mrp_mra_process()
922 test_hdr = skb_header_pointer(skb, sizeof(uint16_t) + sizeof(_hdr), in br_mrp_mra_process()
945 struct br_mrp_tlv_hdr _hdr; in br_mrp_mim_process() local
[all …]
/kernel/linux/linux-5.10/net/netfilter/
Dnf_conntrack_proto_udp.c51 struct udphdr _hdr; in udp_error() local
54 hdr = skb_header_pointer(skb, dataoff, sizeof(_hdr), &_hdr); in udp_error()
146 struct udphdr _hdr; in udplite_error() local
150 hdr = skb_header_pointer(skb, dataoff, sizeof(_hdr), &_hdr); in udplite_error()
Dxt_TPROXY.c40 struct udphdr _hdr, *hp; in tproxy_tg4() local
43 hp = skb_header_pointer(skb, ip_hdrlen(skb), sizeof(_hdr), &_hdr); in tproxy_tg4()
117 struct udphdr _hdr, *hp; in tproxy_tg6_v1() local
130 hp = skb_header_pointer(skb, thoff, sizeof(_hdr), &_hdr); in tproxy_tg6_v1()
Dnft_tproxy.c28 struct udphdr _hdr, *hp; in nft_tproxy_eval_v4() local
39 hp = skb_header_pointer(skb, ip_hdrlen(skb), sizeof(_hdr), &_hdr); in nft_tproxy_eval_v4()
93 struct udphdr _hdr, *hp; in nft_tproxy_eval_v6() local
107 hp = skb_header_pointer(skb, thoff, sizeof(_hdr), &_hdr); in nft_tproxy_eval_v6()
Dnf_conntrack_proto_icmp.c31 struct icmphdr _hdr; in icmp_pkt_to_tuple() local
33 hp = skb_header_pointer(skb, dataoff, sizeof(_hdr), &_hdr); in icmp_pkt_to_tuple()
Dnf_conntrack_proto_icmpv6.c37 struct icmp6hdr _hdr; in icmpv6_pkt_to_tuple() local
39 hp = skb_header_pointer(skb, dataoff, sizeof(_hdr), &_hdr); in icmpv6_pkt_to_tuple()
/kernel/linux/linux-5.10/drivers/nfc/
Dmei_phy.c84 #define MEI_DUMP_NFC_HDR(info, _hdr) \ argument
88 (_hdr)->cmd, (_hdr)->status, (_hdr)->req_id, \
89 (_hdr)->reserved, (_hdr)->data_size); \
/kernel/linux/linux-5.10/net/core/
Dflow_dissector.c409 struct mpls_label *hdr, _hdr; in __skb_flow_dissect_mpls() local
420 hdr = __skb_header_pointer(skb, nhoff, sizeof(_hdr), data, in __skb_flow_dissect_mpls()
421 hlen, &_hdr); in __skb_flow_dissect_mpls()
525 struct gre_base_hdr *hdr, _hdr; in __skb_flow_dissect_gre() local
529 hdr = __skb_header_pointer(skb, *p_nhoff, sizeof(_hdr), in __skb_flow_dissect_gre()
530 data, *p_hlen, &_hdr); in __skb_flow_dissect_gre()
666 } *hdr, _hdr; in __skb_flow_dissect_batadv() local
668 hdr = __skb_header_pointer(skb, *p_nhoff, sizeof(_hdr), data, hlen, in __skb_flow_dissect_batadv()
669 &_hdr); in __skb_flow_dissect_batadv()
1184 } *hdr, _hdr; in __skb_flow_dissect() local
[all …]
/kernel/linux/linux-5.10/net/ipv4/
Draw.c145 struct icmphdr _hdr; in icmp_filter() local
149 sizeof(_hdr), &_hdr); in icmp_filter()
/kernel/linux/linux-5.10/Documentation/translations/zh_CN/process/
Dmagic-number.rst60 PG_MAGIC 'P' pg_{read,write}_hdr ``include/linux/pg.h``
/kernel/linux/linux-5.10/Documentation/process/
Dmagic-number.rst71 PG_MAGIC 'P' pg_{read,write}_hdr ``include/linux/pg.h``
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/
Dice_flow.c14 #define ICE_FLOW_FLD_INFO(_hdr, _offset_bytes, _size_bytes) { \ argument
15 .hdr = _hdr, \

12