Home
last modified time | relevance | path

Searched refs:htype (Results 1 – 25 of 35) sorted by relevance

12

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/
Dpedit.c52 u8 htype = act->mangle.htype; in mlx5e_tc_act_pedit_parse_action() local
56 if (htype == FLOW_ACT_MANGLE_UNSPEC) { in mlx5e_tc_act_pedit_parse_action()
70 err = set_pedit_val(htype, ~mask, val, offset, &hdrs[cmd], extack); in mlx5e_tc_act_pedit_parse_action()
Dvlan_mangle.c21 .mangle.htype = FLOW_ACT_MANGLE_HDR_TYPE_ETH, in mlx5e_tc_act_vlan_add_rewrite_action()
/linux-6.1.9/net/sched/
Dact_pedit.c80 k->htype = nla_get_u16(tb[TCA_PEDIT_KEY_EX_HTYPE]); in tcf_pedit_keys_ex_parse()
83 if (k->htype > TCA_PEDIT_HDR_TYPE_MAX || in tcf_pedit_keys_ex_parse()
119 if (nla_put_u16(skb, TCA_PEDIT_KEY_EX_HTYPE, keys_ex->htype) || in tcf_pedit_key_ex_dump()
290 enum pedit_header_type htype, int *hoffset) in pedit_skb_hdr_offset() argument
294 switch (htype) { in pedit_skb_hdr_offset()
343 enum pedit_header_type htype = in tcf_pedit_act() local
355 htype = tkey_ex->htype; in tcf_pedit_act()
361 rc = pedit_skb_hdr_offset(skb, htype, &hoffset); in tcf_pedit_act()
364 htype); in tcf_pedit_act()
514 entry->mangle.htype = tcf_pedit_htype(act, k); in tcf_pedit_offload_act_setup()
/linux-6.1.9/net/netfilter/ipset/
Dip_set_hash_gen.h216 #undef htype
264 #define htype MTYPE macro
277 struct htype { struct
311 mtype_add_cidr(struct ip_set *set, struct htype *h, u8 cidr, u8 n) in mtype_add_cidr() argument
338 mtype_del_cidr(struct ip_set *set, struct htype *h, u8 cidr, u8 n) in mtype_del_cidr()
361 mtype_ahash_memsize(const struct htype *h, const struct htable *t) in mtype_ahash_memsize()
384 struct htype *h = set->data; in mtype_flush()
437 struct htype *h = set->data; in mtype_destroy()
456 const struct htype *x = a->data; in mtype_same_set()
457 const struct htype *y = b->data; in mtype_same_set()
[all …]
/linux-6.1.9/include/net/tc_act/
Dtc_pedit.h9 enum pedit_header_type htype; member
41 return to_pedit(a)->tcfp_keys_ex[index].htype; in tcf_pedit_htype()
/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_tc_flower.c375 u32 mask, u32 offset, u8 htype, in process_pedit_field() argument
378 switch (htype) { in process_pedit_field()
541 u8 htype; in cxgb4_process_flow_actions() local
543 htype = act->mangle.htype; in cxgb4_process_flow_actions()
548 process_pedit_field(fs, val, mask, offset, htype, in cxgb4_process_flow_actions()
584 u8 htype; in valid_pedit_action() local
586 htype = act->mangle.htype; in valid_pedit_action()
590 switch (htype) { in valid_pedit_action()
/linux-6.1.9/include/uapi/linux/netfilter_bridge/
Debt_arp.h23 __be16 htype; member
/linux-6.1.9/drivers/net/ethernet/netronome/nfp/flower/
Dconntrack.c126 enum flow_action_mangle_base htype) in get_mangled_key() argument
135 act->mangle.htype == htype) { in get_mangled_key()
327 enum flow_action_mangle_base htype = FLOW_ACT_MANGLE_UNSPEC; in nfp_ct_merge_check() local
334 htype = FLOW_ACT_MANGLE_HDR_TYPE_UDP; in nfp_ct_merge_check()
336 htype = FLOW_ACT_MANGLE_HDR_TYPE_TCP; in nfp_ct_merge_check()
340 sizeof(*match1.key), htype); in nfp_ct_merge_check()
663 switch (a_in->mangle.htype) { in nfp_fl_get_csum_flag()
1375 switch (mangle_action->mangle.htype) { in nfp_nft_ct_translate_mangle_action()
Daction.c899 enum flow_action_mangle_base htype; in nfp_fl_pedit() local
902 htype = act->mangle.htype; in nfp_fl_pedit()
905 switch (htype) { in nfp_fl_pedit()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_acl.c509 enum flow_action_mangle_base htype; member
521 .htype = _htype, \
703 enum flow_action_mangle_base htype, in mlxsw_sp_acl_rulei_act_mangle() argument
713 if (mact->htype == htype && in mlxsw_sp_acl_rulei_act_mangle()
Dspectrum_flower.c212 enum flow_action_mangle_base htype = act->mangle.htype; in mlxsw_sp_flower_parse_actions() local
220 htype, offset, in mlxsw_sp_flower_parse_actions()
/linux-6.1.9/arch/alpha/include/asm/
Dcore_irongate.h97 igcsr32 htype; /* 0x0C - header type (at 0x0E) */ member
/linux-6.1.9/net/bridge/netfilter/
Debt_arp.c33 NF_INVF(info, EBT_ARP_HTYPE, info->htype != ah->ar_hrd)) in ebt_arp_mt()
/linux-6.1.9/drivers/crypto/bcm/
Dspu2.h191 enum hash_type htype);
Dspu.h240 enum hash_type htype);
Dspu.c555 enum hash_type htype) in spum_digest_size() argument
562 if ((htype == HASH_TYPE_INIT) || (htype == HASH_TYPE_UPDT)) { in spum_digest_size()
/linux-6.1.9/drivers/media/dvb-core/
Ddvb_net.c229 unsigned char htype = p->ule_sndu_type & 0x00FF; in handle_one_ule_extension() local
234 if (ule_mandatory_ext_handlers[htype]) { in handle_one_ule_extension()
235 ext_len = ule_mandatory_ext_handlers[htype]( p ); in handle_one_ule_extension()
253 if (ule_optional_ext_handlers[htype]) in handle_one_ule_extension()
254 (void)ule_optional_ext_handlers[htype]( p ); in handle_one_ule_extension()
/linux-6.1.9/drivers/s390/crypto/
Dzcrypt_ccamisc.h107 u8 htype; /* hash method, 0x02 for SHA-256 */ member
/linux-6.1.9/drivers/net/ethernet/mediatek/
Dmtk_ppe_offload.c315 if (act->mangle.htype == FLOW_ACT_MANGLE_HDR_TYPE_ETH) in mtk_flow_offload_replace()
397 switch (act->mangle.htype) { in mtk_flow_offload_replace()
/linux-6.1.9/net/ipv4/
Dipconfig.c631 u8 htype; /* HW address type */ member
858 b->htype = dev->type; in ic_bootp_send_if()
860 b->htype = ARPHRD_ETHER; in ic_bootp_send_if()
864 b->htype = dev->type; /* can cause undefined behavior */ in ic_bootp_send_if()
/linux-6.1.9/drivers/net/ethernet/qlogic/qede/
Dqede_fp.c611 enum rss_hash_type htype; in qede_get_rxhash() local
614 htype = GET_FIELD(bitfields, ETH_FAST_PATH_RX_REG_CQE_RSS_HASH_TYPE); in qede_get_rxhash()
615 if (htype) { in qede_get_rxhash()
616 hash_type = ((htype == RSS_HASH_TYPE_IPV4) || in qede_get_rxhash()
617 (htype == RSS_HASH_TYPE_IPV6)) ? in qede_get_rxhash()
/linux-6.1.9/drivers/net/wireless/ath/ath5k/
Dbase.c674 enum ath5k_pkt_type htype; in get_hw_packet_type() local
681 htype = AR5K_PKT_TYPE_BEACON; in get_hw_packet_type()
683 htype = AR5K_PKT_TYPE_PROBE_RESP; in get_hw_packet_type()
685 htype = AR5K_PKT_TYPE_ATIM; in get_hw_packet_type()
687 htype = AR5K_PKT_TYPE_PSPOLL; in get_hw_packet_type()
689 htype = AR5K_PKT_TYPE_NORMAL; in get_hw_packet_type()
691 return htype; in get_hw_packet_type()
/linux-6.1.9/net/batman-adv/
Ddistributed-arp-table.c76 __u8 htype; member
1483 __u8 htype; in batadv_dat_check_dhcp() member
1499 if (!dhcp_h || dhcp_h->htype != BATADV_HTYPE_ETHERNET || in batadv_dat_check_dhcp()
/linux-6.1.9/drivers/net/wireless/ath/ath9k/
Dxmit.c1368 enum ath9k_pkt_type htype; in get_hw_packet_type() local
1375 htype = ATH9K_PKT_TYPE_BEACON; in get_hw_packet_type()
1377 htype = ATH9K_PKT_TYPE_PROBE_RESP; in get_hw_packet_type()
1379 htype = ATH9K_PKT_TYPE_ATIM; in get_hw_packet_type()
1381 htype = ATH9K_PKT_TYPE_PSPOLL; in get_hw_packet_type()
1383 htype = ATH9K_PKT_TYPE_NORMAL; in get_hw_packet_type()
1385 return htype; in get_hw_packet_type()
/linux-6.1.9/net/netfilter/
Dnf_flow_table_offload.c205 enum flow_action_mangle_base htype, u32 offset, in flow_offload_mangle() argument
209 entry->mangle.htype = htype; in flow_offload_mangle()

12