Home
last modified time | relevance | path

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

/Linux-v4.19/net/sched/
Dact_pedit.c83 k->htype = nla_get_u16(tb[TCA_PEDIT_KEY_EX_HTYPE]); in tcf_pedit_keys_ex_parse()
86 if (k->htype > TCA_PEDIT_HDR_TYPE_MAX || in tcf_pedit_keys_ex_parse()
121 if (nla_put_u16(skb, TCA_PEDIT_KEY_EX_HTYPE, keys_ex->htype) || in tcf_pedit_key_ex_dump()
264 enum pedit_header_type htype, int *hoffset) in pedit_skb_hdr_offset() argument
268 switch (htype) { in pedit_skb_hdr_offset()
312 enum pedit_header_type htype = in tcf_pedit_act() local
324 htype = tkey_ex->htype; in tcf_pedit_act()
330 rc = pedit_skb_hdr_offset(skb, htype, &hoffset); in tcf_pedit_act()
333 htype); in tcf_pedit_act()
/Linux-v4.19/net/netfilter/ipset/
Dip_set_hash_gen.h221 #undef htype
267 #define htype MTYPE macro
280 struct htype { struct
306 mtype_add_cidr(struct htype *h, u8 cidr, u8 n) in mtype_add_cidr() argument
330 mtype_del_cidr(struct htype *h, u8 cidr, u8 n) in mtype_del_cidr()
350 mtype_ahash_memsize(const struct htype *h, const struct htable *t) in mtype_ahash_memsize()
373 struct htype *h = set->data; in mtype_flush()
420 struct htype *h = set->data; in mtype_destroy()
435 struct htype *h = set->data; in mtype_gc_init()
446 const struct htype *x = a->data; in mtype_same_set()
[all …]
/Linux-v4.19/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-v4.19/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_tc_flower.c328 u32 mask, u32 offset, u8 htype) in process_pedit_field() argument
330 switch (htype) { in process_pedit_field()
457 u8 htype; in cxgb4_process_flow_actions() local
461 htype = tcf_pedit_htype(a, i); in cxgb4_process_flow_actions()
467 htype); in cxgb4_process_flow_actions()
490 u8 cmd, htype; in valid_pedit_action() local
495 htype = tcf_pedit_htype(a, i); in valid_pedit_action()
506 switch (htype) { in valid_pedit_action()
/Linux-v4.19/include/uapi/linux/netfilter_bridge/
Debt_arp.h23 __be16 htype; member
/Linux-v4.19/arch/alpha/include/asm/
Dcore_irongate.h97 igcsr32 htype; /* 0x0C - header type (at 0x0E) */ member
/Linux-v4.19/net/bridge/netfilter/
Debt_arp.c32 NF_INVF(info, EBT_ARP_HTYPE, info->htype != ah->ar_hrd)) in ebt_arp_mt()
/Linux-v4.19/drivers/crypto/bcm/
Dspu2.h202 enum hash_type htype);
Dspu.h250 enum hash_type htype);
Dspu.c575 enum hash_type htype) in spum_digest_size() argument
582 if ((htype == HASH_TYPE_INIT) || (htype == HASH_TYPE_UPDT)) { in spum_digest_size()
Dspu2.c929 enum hash_type htype) in spu2_digest_size() argument
/Linux-v4.19/drivers/media/dvb-core/
Ddvb_net.c239 unsigned char htype = p->ule_sndu_type & 0x00FF; in handle_one_ule_extension() local
244 if (ule_mandatory_ext_handlers[htype]) { in handle_one_ule_extension()
245 ext_len = ule_mandatory_ext_handlers[htype]( p ); in handle_one_ule_extension()
263 if (ule_optional_ext_handlers[htype]) in handle_one_ule_extension()
264 (void)ule_optional_ext_handlers[htype]( p ); in handle_one_ule_extension()
/Linux-v4.19/net/ipv4/
Dipconfig.c603 u8 htype; /* HW address type */ member
830 b->htype = dev->type; in ic_bootp_send_if()
832 b->htype = ARPHRD_ETHER; in ic_bootp_send_if()
836 b->htype = dev->type; /* can cause undefined behavior */ in ic_bootp_send_if()
/Linux-v4.19/drivers/net/ethernet/netronome/nfp/flower/
Daction.c549 enum pedit_header_type htype; in nfp_fl_pedit() local
564 htype = tcf_pedit_htype(action, idx); in nfp_fl_pedit()
570 switch (htype) { in nfp_fl_pedit()
/Linux-v4.19/drivers/net/ethernet/qlogic/qede/
Dqede_fp.c596 enum rss_hash_type htype; in qede_get_rxhash() local
599 htype = GET_FIELD(bitfields, ETH_FAST_PATH_RX_REG_CQE_RSS_HASH_TYPE); in qede_get_rxhash()
600 if (htype) { in qede_get_rxhash()
601 hash_type = ((htype == RSS_HASH_TYPE_IPV4) || in qede_get_rxhash()
602 (htype == RSS_HASH_TYPE_IPV6)) ? in qede_get_rxhash()
/Linux-v4.19/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-v4.19/drivers/net/ethernet/mellanox/mlx5/core/
Den_tc.c1889 u8 cmd, htype; in parse_tc_pedit_action() local
1897 htype = tcf_pedit_htype(a, i); in parse_tc_pedit_action()
1901 if (htype == TCA_PEDIT_KEY_EX_HDR_TYPE_NETWORK) { in parse_tc_pedit_action()
1915 err = set_pedit_val(htype, ~mask, val, offset, &masks[cmd], &vals[cmd]); in parse_tc_pedit_action()
1975 u8 htype, ip_proto; in modify_header_match_supported() local
1996 htype = tcf_pedit_htype(a, k); in modify_header_match_supported()
1997 if (htype == TCA_PEDIT_KEY_EX_HDR_TYPE_IP4 || in modify_header_match_supported()
1998 htype == TCA_PEDIT_KEY_EX_HDR_TYPE_IP6) { in modify_header_match_supported()
/Linux-v4.19/drivers/net/wireless/ath/ath9k/
Dxmit.c1374 enum ath9k_pkt_type htype; in get_hw_packet_type() local
1381 htype = ATH9K_PKT_TYPE_BEACON; in get_hw_packet_type()
1383 htype = ATH9K_PKT_TYPE_PROBE_RESP; in get_hw_packet_type()
1385 htype = ATH9K_PKT_TYPE_ATIM; in get_hw_packet_type()
1387 htype = ATH9K_PKT_TYPE_PSPOLL; in get_hw_packet_type()
1389 htype = ATH9K_PKT_TYPE_NORMAL; in get_hw_packet_type()
1391 return htype; in get_hw_packet_type()
/Linux-v4.19/drivers/staging/gdm724x/
Dgdm_lte.c583 u8 htype; /* hardware address type. in gdm_lte_netif_rx() member
/Linux-v4.19/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_cmn.c415 enum eth_rss_hash_type htype; in bnx2x_get_rxhash() local
417 htype = cqe->status_flags & ETH_FAST_PATH_RX_CQE_RSS_HASH_TYPE; in bnx2x_get_rxhash()
418 *rxhash_type = ((htype == TCP_IPV4_HASH_TYPE) || in bnx2x_get_rxhash()
419 (htype == TCP_IPV6_HASH_TYPE)) ? in bnx2x_get_rxhash()