Home
last modified time | relevance | path

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

12

/Linux-v5.10/net/sched/
Dact_pedit.c81 k->htype = nla_get_u16(tb[TCA_PEDIT_KEY_EX_HTYPE]); in tcf_pedit_keys_ex_parse()
84 if (k->htype > TCA_PEDIT_HDR_TYPE_MAX || in tcf_pedit_keys_ex_parse()
120 if (nla_put_u16(skb, TCA_PEDIT_KEY_EX_HTYPE, keys_ex->htype) || in tcf_pedit_key_ex_dump()
275 enum pedit_header_type htype, int *hoffset) in pedit_skb_hdr_offset() argument
279 switch (htype) { in pedit_skb_hdr_offset()
323 enum pedit_header_type htype = in tcf_pedit_act() local
335 htype = tkey_ex->htype; in tcf_pedit_act()
341 rc = pedit_skb_hdr_offset(skb, htype, &hoffset); in tcf_pedit_act()
344 htype); in tcf_pedit_act()
Dact_ct.c68 enum flow_action_mangle_base htype, in tcf_ct_add_mangle_action() argument
77 entry->mangle.htype = htype; in tcf_ct_add_mangle_action()
/Linux-v5.10/include/net/tc_act/
Dtc_pedit.h9 enum pedit_header_type htype; member
40 return to_pedit(a)->tcfp_keys_ex[index].htype; in tcf_pedit_htype()
/Linux-v5.10/net/netfilter/ipset/
Dip_set_hash_gen.h255 #undef htype
303 #define htype MTYPE macro
316 struct htype { struct
352 mtype_add_cidr(struct ip_set *set, struct htype *h, u8 cidr, u8 n) in mtype_add_cidr() argument
379 mtype_del_cidr(struct ip_set *set, struct htype *h, u8 cidr, u8 n) in mtype_del_cidr()
402 mtype_ahash_memsize(const struct htype *h, const struct htable *t) in mtype_ahash_memsize()
425 struct htype *h = set->data; in mtype_flush()
478 struct htype *h = set->data; in mtype_destroy()
497 const struct htype *x = a->data; in mtype_same_set()
498 const struct htype *y = b->data; in mtype_same_set()
[all …]
/Linux-v5.10/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-v5.10/include/uapi/linux/netfilter_bridge/
Debt_arp.h23 __be16 htype; member
/Linux-v5.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_acl.c517 enum flow_action_mangle_base htype; member
529 .htype = _htype, \
628 enum flow_action_mangle_base htype, in mlxsw_sp_acl_rulei_act_mangle() argument
638 if (mact->htype == htype && in mlxsw_sp_acl_rulei_act_mangle()
Dspectrum_flower.c171 enum flow_action_mangle_base htype = act->mangle.htype; in mlxsw_sp_flower_parse_actions() local
179 htype, offset, in mlxsw_sp_flower_parse_actions()
/Linux-v5.10/arch/alpha/include/asm/
Dcore_irongate.h97 igcsr32 htype; /* 0x0C - header type (at 0x0E) */ member
/Linux-v5.10/net/bridge/netfilter/
Debt_arp.c33 NF_INVF(info, EBT_ARP_HTYPE, info->htype != ah->ar_hrd)) in ebt_arp_mt()
/Linux-v5.10/drivers/crypto/bcm/
Dspu2.h191 enum hash_type htype);
Dspu.h239 enum hash_type htype);
Dspu.c557 enum hash_type htype) in spum_digest_size() argument
564 if ((htype == HASH_TYPE_INIT) || (htype == HASH_TYPE_UPDT)) { in spum_digest_size()
/Linux-v5.10/drivers/media/dvb-core/
Ddvb_net.c228 unsigned char htype = p->ule_sndu_type & 0x00FF; in handle_one_ule_extension() local
233 if (ule_mandatory_ext_handlers[htype]) { in handle_one_ule_extension()
234 ext_len = ule_mandatory_ext_handlers[htype]( p ); in handle_one_ule_extension()
252 if (ule_optional_ext_handlers[htype]) in handle_one_ule_extension()
253 (void)ule_optional_ext_handlers[htype]( p ); in handle_one_ule_extension()
/Linux-v5.10/net/ipv4/
Dipconfig.c607 u8 htype; /* HW address type */ member
834 b->htype = dev->type; in ic_bootp_send_if()
836 b->htype = ARPHRD_ETHER; in ic_bootp_send_if()
840 b->htype = dev->type; /* can cause undefined behavior */ in ic_bootp_send_if()
/Linux-v5.10/drivers/s390/crypto/
Dzcrypt_ccamisc.h107 u8 htype; /* hash method, 0x02 for SHA-256 */ member
/Linux-v5.10/drivers/net/ethernet/netronome/nfp/flower/
Daction.c897 enum flow_action_mangle_base htype; in nfp_fl_pedit() local
900 htype = act->mangle.htype; in nfp_fl_pedit()
903 switch (htype) { in nfp_fl_pedit()
/Linux-v5.10/drivers/net/ethernet/qlogic/qede/
Dqede_fp.c617 enum rss_hash_type htype; in qede_get_rxhash() local
620 htype = GET_FIELD(bitfields, ETH_FAST_PATH_RX_REG_CQE_RSS_HASH_TYPE); in qede_get_rxhash()
621 if (htype) { in qede_get_rxhash()
622 hash_type = ((htype == RSS_HASH_TYPE_IPV4) || in qede_get_rxhash()
623 (htype == RSS_HASH_TYPE_IPV6)) ? in qede_get_rxhash()
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/
Den_tc.c2984 u8 htype; in parse_pedit_to_modify_hdr() local
2986 htype = act->mangle.htype; in parse_pedit_to_modify_hdr()
2989 if (htype == FLOW_ACT_MANGLE_UNSPEC) { in parse_pedit_to_modify_hdr()
3004 err = set_pedit_val(htype, ~mask, val, offset, &hdrs[cmd]); in parse_pedit_to_modify_hdr()
3027 if (act->mangle.htype != FLOW_ACT_MANGLE_HDR_TYPE_ETH) { in parse_pedit_to_reformat()
3137 u8 htype; in is_action_keys_supported() local
3139 htype = act->mangle.htype; in is_action_keys_supported()
3146 if (htype == FLOW_ACT_MANGLE_HDR_TYPE_IP4) { in is_action_keys_supported()
3164 } else if (htype == FLOW_ACT_MANGLE_HDR_TYPE_IP6) { in is_action_keys_supported()
3182 } else if (htype == FLOW_ACT_MANGLE_HDR_TYPE_TCP || in is_action_keys_supported()
[all …]
/Linux-v5.10/drivers/net/wireless/ath/ath5k/
Dbase.c675 enum ath5k_pkt_type htype; in get_hw_packet_type() local
682 htype = AR5K_PKT_TYPE_BEACON; in get_hw_packet_type()
684 htype = AR5K_PKT_TYPE_PROBE_RESP; in get_hw_packet_type()
686 htype = AR5K_PKT_TYPE_ATIM; in get_hw_packet_type()
688 htype = AR5K_PKT_TYPE_PSPOLL; in get_hw_packet_type()
690 htype = AR5K_PKT_TYPE_NORMAL; in get_hw_packet_type()
692 return htype; in get_hw_packet_type()
/Linux-v5.10/net/netfilter/
Dnf_flow_table_offload.c155 enum flow_action_mangle_base htype, u32 offset, in flow_offload_mangle() argument
159 entry->mangle.htype = htype; in flow_offload_mangle()
/Linux-v5.10/net/batman-adv/
Ddistributed-arp-table.c77 __u8 htype; member
1542 __u8 htype; in batadv_dat_check_dhcp() member
1558 if (!dhcp_h || dhcp_h->htype != BATADV_HTYPE_ETHERNET || in batadv_dat_check_dhcp()
/Linux-v5.10/drivers/net/wireless/ath/ath9k/
Dxmit.c1322 enum ath9k_pkt_type htype; in get_hw_packet_type() local
1329 htype = ATH9K_PKT_TYPE_BEACON; in get_hw_packet_type()
1331 htype = ATH9K_PKT_TYPE_PROBE_RESP; in get_hw_packet_type()
1333 htype = ATH9K_PKT_TYPE_ATIM; in get_hw_packet_type()
1335 htype = ATH9K_PKT_TYPE_PSPOLL; in get_hw_packet_type()
1337 htype = ATH9K_PKT_TYPE_NORMAL; in get_hw_packet_type()
1339 return htype; in get_hw_packet_type()
/Linux-v5.10/include/net/
Dflow_offload.h212 enum flow_action_mangle_base htype; member
/Linux-v5.10/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_tc.c189 u8 htype; in bnxt_tc_parse_pedit() local
192 htype = act->mangle.htype; in bnxt_tc_parse_pedit()
196 switch (htype) { in bnxt_tc_parse_pedit()

12