Home
last modified time | relevance | path

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

12

/linux/include/net/tc_act/
H A Dtc_pedit.h10 enum pedit_header_type htype; member
56 u32 htype = TCA_PEDIT_KEY_EX_HDR_TYPE_NETWORK; in tcf_pedit_htype() local
62 htype = parms->tcfp_keys_ex[index].htype; in tcf_pedit_htype()
65 return htype; in tcf_pedit_htype()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/
H A Dpedit.c53 u8 htype = act->mangle.htype; in mlx5e_tc_act_pedit_parse_action() local
57 if (htype == FLOW_ACT_MANGLE_UNSPEC) { in mlx5e_tc_act_pedit_parse_action()
71 err = set_pedit_val(htype, ~mask, val, offset, &hdrs[cmd], extack); in mlx5e_tc_act_pedit_parse_action()
H A Dvlan_mangle.c21 .mangle.htype = FLOW_ACT_MANGLE_HDR_TYPE_ETH, in mlx5e_tc_act_vlan_add_rewrite_action()
/linux/net/sched/
H A Dact_pedit.c94 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()
/linux/net/netfilter/ipset/
H A Dip_set_hash_gen.h229 #undef htype
278 #define htype MTYPE macro
291 struct htype { struct
326 mtype_add_cidr(struct ip_set *set, struct htype *h, u8 cidr, u8 n) in mtype_add_cidr() argument
353 mtype_del_cidr(struct ip_set *set, struct htype *h, u8 cidr, u8 n) in mtype_del_cidr()
376 mtype_ahash_memsize(const struct htype *h, const struct htable *t) in mtype_ahash_memsize()
399 struct htype *h = set->data; in mtype_flush()
452 struct htype *h = set->data; in mtype_destroy()
468 const struct htype *x = a->data; in mtype_same_set()
469 const struct htype * in mtype_same_set()
292 tablehtype global() argument
293 gchtype global() argument
294 maxelemhtype global() argument
295 initvalhtype global() argument
297 markmaskhtype global() argument
299 bucketsizehtype global() argument
301 netmaskhtype global() argument
302 bitmaskhtype global() argument
[all...]
/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_tc_flower.c367 u32 mask, u32 offset, u8 htype, in process_pedit_field() argument
370 switch (htype) { in process_pedit_field()
533 u8 htype; in cxgb4_process_flow_actions() local
535 htype = act->mangle.htype; in cxgb4_process_flow_actions()
540 process_pedit_field(fs, val, mask, offset, htype, in cxgb4_process_flow_actions()
576 u8 htype; in valid_pedit_action() local
578 htype = act->mangle.htype; in valid_pedit_action()
582 switch (htype) { in valid_pedit_action()
/linux/include/uapi/linux/netfilter_bridge/
H A Debt_arp.h23 __be16 htype; member
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_acl.c522 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 Dspectrum_flower.c227 enum flow_action_mangle_base htype = act->mangle.htype; in mlxsw_sp_flower_parse_actions() local
235 htype, offset, in mlxsw_sp_flower_parse_actions()
/linux/drivers/media/dvb-core/
H A Ddvb_net.c229 unsigned char htype = p->ule_sndu_type & 0x00FF; in handle_one_ule_extension() local
231 if (htype >= ARRAY_SIZE(ule_mandatory_ext_handlers)) in handle_one_ule_extension()
237 if (ule_mandatory_ext_handlers[htype]) { in handle_one_ule_extension()
238 ext_len = ule_mandatory_ext_handlers[htype]( p ); in handle_one_ule_extension()
256 if (ule_optional_ext_handlers[htype]) in handle_one_ule_extension()
257 (void)ule_optional_ext_handlers[htype]( p ); in handle_one_ule_extension()
/linux/drivers/net/ethernet/netronome/nfp/flower/
H A Dconntrack.c137 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 Daction.c914 enum flow_action_mangle_base htype; in nfp_fl_pedit() local
917 htype = act->mangle.htype; in nfp_fl_pedit()
920 switch (htype) { in nfp_fl_pedit()
/linux/arch/alpha/include/asm/
H A Dcore_irongate.h97 igcsr32 htype; /* 0x0C - header type (at 0x0E) */ member
/linux/net/bridge/netfilter/
H A Debt_arp.c33 NF_INVF(info, EBT_ARP_HTYPE, info->htype != ah->ar_hrd)) in ebt_arp_mt()
/linux/drivers/crypto/bcm/
H A 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()
H A Dspu2.h191 enum hash_type htype);
H A Dspu.h240 enum hash_type htype);
/linux/net/ipv4/
H A Dipconfig.c631 u8 htype; /* HW address type */ member
856 b->htype = dev->type; in ic_bootp_send_if()
858 b->htype = ARPHRD_ETHER; in ic_bootp_send_if()
862 b->htype = dev->type; /* can cause undefined behavior */ in ic_bootp_send_if()
/linux/drivers/net/ethernet/qlogic/qede/
H A Dqede_fp.c612 enum rss_hash_type htype; in qede_get_rxhash() local
615 htype = GET_FIELD(bitfields, ETH_FAST_PATH_RX_REG_CQE_RSS_HASH_TYPE); in qede_get_rxhash()
616 if (htype) { in qede_get_rxhash()
617 hash_type = ((htype == RSS_HASH_TYPE_IPV4) || in qede_get_rxhash()
618 (htype == RSS_HASH_TYPE_IPV6)) ? in qede_get_rxhash()
/linux/drivers/s390/crypto/
H A Dzcrypt_ccamisc.h108 u8 htype; /* hash method, 0x02 for SHA-256 */ member
/linux/drivers/net/wireless/ath/ath5k/
H A 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/net/batman-adv/
H A Ddistributed-arp-table.c75 __u8 htype; member
1471 __u8 htype; in batadv_dat_check_dhcp() member
1487 if (!dhcp_h || dhcp_h->htype != BATADV_HTYPE_ETHERNET || in batadv_dat_check_dhcp()
/linux/drivers/net/wireless/ath/ath9k/
H A Dxmit.c1383 enum ath9k_pkt_type htype; in get_hw_packet_type() local
1390 htype = ATH9K_PKT_TYPE_BEACON; in get_hw_packet_type()
1392 htype = ATH9K_PKT_TYPE_PROBE_RESP; in get_hw_packet_type()
1394 htype = ATH9K_PKT_TYPE_ATIM; in get_hw_packet_type()
1396 htype = ATH9K_PKT_TYPE_PSPOLL; in get_hw_packet_type()
1398 htype = ATH9K_PKT_TYPE_NORMAL; in get_hw_packet_type()
1400 return htype; in get_hw_packet_type()
/linux/net/netfilter/
H A Dnf_flow_table_offload.c208 enum flow_action_mangle_base htype, u32 offset, in flow_offload_mangle()
212 entry->mangle.htype = htype; in flow_offload_mangle()
206 flow_offload_mangle(struct flow_action_entry * entry,enum flow_action_mangle_base htype,u32 offset,const __be32 * value,const __be32 * mask) flow_offload_mangle() argument
/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_tc.c190 u8 htype; in bnxt_tc_parse_pedit() local
193 htype = act->mangle.htype; in bnxt_tc_parse_pedit()
197 switch (htype) { in bnxt_tc_parse_pedit()

12