/openbmc/linux/include/net/tc_act/ |
H A D | tc_pedit.h | 10 enum pedit_header_type htype; member 55 u32 htype = TCA_PEDIT_KEY_EX_HDR_TYPE_NETWORK; in tcf_pedit_htype() local 61 htype = parms->tcfp_keys_ex[index].htype; in tcf_pedit_htype() 64 return htype; in tcf_pedit_htype()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/ |
H A D | pedit.c | 52 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()
|
H A D | vlan_mangle.c | 21 .mangle.htype = FLOW_ACT_MANGLE_HDR_TYPE_ETH, in mlx5e_tc_act_vlan_add_rewrite_action()
|
/openbmc/linux/net/sched/ |
H A D | act_pedit.c | 94 k->htype = nla_get_u16(tb[TCA_PEDIT_KEY_EX_HTYPE]); in tcf_pedit_keys_ex_parse() 128 if (nla_put_u16(skb, TCA_PEDIT_KEY_EX_HTYPE, keys_ex->htype) || in tcf_pedit_key_ex_dump() 357 enum pedit_header_type htype, int *hoffset) in pedit_skb_hdr_offset() argument 361 switch (htype) { in pedit_skb_hdr_offset() 390 enum pedit_header_type htype = TCA_PEDIT_KEY_EX_HDR_TYPE_NETWORK; in tcf_pedit_act() local 422 htype = tkey_ex->htype; in tcf_pedit_act() 428 rc = pedit_skb_hdr_offset(skb, htype, &hoffset); in tcf_pedit_act() 430 …nfo_ratelimited("tc action pedit unable to extract header offset for header type (0x%x)\n", htype); in tcf_pedit_act() 575 entry->mangle.htype = tcf_pedit_htype(act, k); in tcf_pedit_offload_act_setup()
|
/openbmc/linux/net/netfilter/ipset/ |
H A D | ip_set_hash_gen.h | 228 #undef htype 277 #define htype MTYPE macro 290 struct htype { struct 398 struct htype *h = set->data; in mtype_flush() 451 struct htype *h = set->data; in mtype_destroy() 560 struct htype *h; in mtype_gc() 603 struct htype *h = set->data; in mtype_cancel_gc() 623 struct htype *h = set->data; in mtype_resize() 809 struct htype *h = set->data; in mtype_ext_size() 841 struct htype *h = set->data; in mtype_add() [all …]
|
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cxgb4_tc_flower.c | 375 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()
|
/openbmc/linux/include/uapi/linux/netfilter_bridge/ |
H A D | ebt_arp.h | 23 __be16 htype; member
|
/openbmc/u-boot/lib/efi_selftest/ |
H A D | efi_selftest_snp.c | 28 u8 htype; member 137 p.dhcp_hdr.htype = HWT_ETHER; in send_dhcp_discover()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_acl.c | 522 enum flow_action_mangle_base htype; member 534 .htype = _htype, \ 716 enum flow_action_mangle_base htype, in mlxsw_sp_acl_rulei_act_mangle() argument 726 if (mact->htype == htype && in mlxsw_sp_acl_rulei_act_mangle()
|
H A D | spectrum_flower.c | 222 enum flow_action_mangle_base htype = act->mangle.htype; in mlxsw_sp_flower_parse_actions() local 230 htype, offset, in mlxsw_sp_flower_parse_actions()
|
/openbmc/linux/arch/alpha/include/asm/ |
H A D | core_irongate.h | 97 igcsr32 htype; /* 0x0C - header type (at 0x0E) */ member
|
/openbmc/linux/net/bridge/netfilter/ |
H A D | ebt_arp.c | 33 NF_INVF(info, EBT_ARP_HTYPE, info->htype != ah->ar_hrd)) in ebt_arp_mt()
|
/openbmc/linux/drivers/crypto/bcm/ |
H A D | spu2.h | 191 enum hash_type htype);
|
H A D | spu.h | 240 enum hash_type htype);
|
H A D | spu.c | 555 enum hash_type htype) in spum_digest_size() argument 562 if ((htype == HASH_TYPE_INIT) || (htype == HASH_TYPE_UPDT)) { in spum_digest_size()
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/flower/ |
H A D | conntrack.c | 137 enum flow_action_mangle_base htype) in get_mangled_key() argument 146 act->mangle.htype == htype) { in get_mangled_key() 339 enum flow_action_mangle_base htype = FLOW_ACT_MANGLE_UNSPEC; in nfp_ct_merge_check() local 346 htype = FLOW_ACT_MANGLE_HDR_TYPE_UDP; in nfp_ct_merge_check() 348 htype = FLOW_ACT_MANGLE_HDR_TYPE_TCP; in nfp_ct_merge_check() 352 sizeof(*match1.key), htype); in nfp_ct_merge_check() 690 switch (a_in->mangle.htype) { in nfp_fl_get_csum_flag() 1420 switch (mangle_action->mangle.htype) { in nfp_nft_ct_translate_mangle_action()
|
H A D | action.c | 899 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()
|
/openbmc/linux/drivers/media/dvb-core/ |
H A D | dvb_net.c | 229 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()
|
/openbmc/linux/drivers/s390/crypto/ |
H A D | zcrypt_ccamisc.h | 107 u8 htype; /* hash method, 0x02 for SHA-256 */ member
|
/openbmc/linux/net/ipv4/ |
H A D | ipconfig.c | 631 u8 htype; /* HW address type */ member 861 b->htype = dev->type; in ic_bootp_send_if() 863 b->htype = ARPHRD_ETHER; in ic_bootp_send_if() 867 b->htype = dev->type; /* can cause undefined behavior */ in ic_bootp_send_if()
|
/openbmc/linux/drivers/net/ethernet/mediatek/ |
H A D | mtk_ppe_offload.c | 324 if (act->mangle.htype == FLOW_ACT_MANGLE_HDR_TYPE_ETH) in mtk_flow_offload_replace() 406 switch (act->mangle.htype) { in mtk_flow_offload_replace()
|
/openbmc/linux/drivers/net/ethernet/qlogic/qede/ |
H A D | qede_fp.c | 611 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()
|
/openbmc/linux/drivers/net/wireless/ath/ath5k/ |
H A D | base.c | 674 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()
|
/openbmc/linux/net/batman-adv/ |
H A D | distributed-arp-table.c | 76 __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()
|
/openbmc/linux/drivers/net/wireless/ath/ath9k/ |
H A D | xmit.c | 1388 enum ath9k_pkt_type htype; in get_hw_packet_type() local 1395 htype = ATH9K_PKT_TYPE_BEACON; in get_hw_packet_type() 1397 htype = ATH9K_PKT_TYPE_PROBE_RESP; in get_hw_packet_type() 1399 htype = ATH9K_PKT_TYPE_ATIM; in get_hw_packet_type() 1401 htype = ATH9K_PKT_TYPE_PSPOLL; in get_hw_packet_type() 1403 htype = ATH9K_PKT_TYPE_NORMAL; in get_hw_packet_type() 1405 return htype; in get_hw_packet_type()
|