Home
last modified time | relevance | path

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

/Linux-v5.4/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()
276 enum pedit_header_type htype, int *hoffset) in pedit_skb_hdr_offset() argument
280 switch (htype) { in pedit_skb_hdr_offset()
324 enum pedit_header_type htype = in tcf_pedit_act() local
336 htype = tkey_ex->htype; in tcf_pedit_act()
342 rc = pedit_skb_hdr_offset(skb, htype, &hoffset); in tcf_pedit_act()
345 htype); in tcf_pedit_act()
Dcls_api.c3516 entry->mangle.htype = tcf_pedit_htype(act, k); in tc_setup_flow_action()
/Linux-v5.4/net/netfilter/ipset/
Dip_set_hash_gen.h217 #undef htype
263 #define htype MTYPE macro
276 struct htype { struct
302 mtype_add_cidr(struct htype *h, u8 cidr, u8 n) in mtype_add_cidr() argument
326 mtype_del_cidr(struct htype *h, u8 cidr, u8 n) in mtype_del_cidr()
346 mtype_ahash_memsize(const struct htype *h, const struct htable *t) in mtype_ahash_memsize()
369 struct htype *h = set->data; in mtype_flush()
416 struct htype *h = set->data; in mtype_destroy()
431 struct htype *h = set->data; in mtype_gc_init()
442 const struct htype *x = a->data; in mtype_same_set()
[all …]
/Linux-v5.4/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.4/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_tc_flower.c294 u32 mask, u32 offset, u8 htype) in process_pedit_field() argument
296 switch (htype) { in process_pedit_field()
430 u8 htype; in cxgb4_process_flow_actions() local
432 htype = act->mangle.htype; in cxgb4_process_flow_actions()
437 process_pedit_field(fs, val, mask, offset, htype); in cxgb4_process_flow_actions()
463 u8 htype; in valid_pedit_action() local
465 htype = act->mangle.htype; in valid_pedit_action()
469 switch (htype) { in valid_pedit_action()
/Linux-v5.4/include/uapi/linux/netfilter_bridge/
Debt_arp.h23 __be16 htype; member
/Linux-v5.4/arch/alpha/include/asm/
Dcore_irongate.h97 igcsr32 htype; /* 0x0C - header type (at 0x0E) */ member
/Linux-v5.4/net/bridge/netfilter/
Debt_arp.c33 NF_INVF(info, EBT_ARP_HTYPE, info->htype != ah->ar_hrd)) in ebt_arp_mt()
/Linux-v5.4/drivers/crypto/bcm/
Dspu2.h191 enum hash_type htype);
Dspu.h239 enum hash_type htype);
Dspu.c561 enum hash_type htype) in spum_digest_size() argument
568 if ((htype == HASH_TYPE_INIT) || (htype == HASH_TYPE_UPDT)) { in spum_digest_size()
Dspu2.c918 enum hash_type htype) in spu2_digest_size() argument
/Linux-v5.4/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.4/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.4/drivers/net/ethernet/qlogic/qede/
Dqede_fp.c588 enum rss_hash_type htype; in qede_get_rxhash() local
591 htype = GET_FIELD(bitfields, ETH_FAST_PATH_RX_REG_CQE_RSS_HASH_TYPE); in qede_get_rxhash()
592 if (htype) { in qede_get_rxhash()
593 hash_type = ((htype == RSS_HASH_TYPE_IPV4) || in qede_get_rxhash()
594 (htype == RSS_HASH_TYPE_IPV6)) ? in qede_get_rxhash()
/Linux-v5.4/drivers/net/ethernet/netronome/nfp/flower/
Daction.c868 enum flow_action_mangle_base htype; in nfp_fl_pedit() local
871 htype = act->mangle.htype; in nfp_fl_pedit()
874 switch (htype) { in nfp_fl_pedit()
/Linux-v5.4/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.4/drivers/net/ethernet/mellanox/mlx5/core/
Den_tc.c2509 u8 htype; in parse_tc_pedit_action() local
2511 htype = act->mangle.htype; in parse_tc_pedit_action()
2514 if (htype == FLOW_ACT_MANGLE_UNSPEC) { in parse_tc_pedit_action()
2529 err = set_pedit_val(htype, ~mask, val, offset, &hdrs[cmd]); in parse_tc_pedit_action()
2625 u8 htype; in is_action_keys_supported() local
2627 htype = act->mangle.htype; in is_action_keys_supported()
2634 if (htype == FLOW_ACT_MANGLE_HDR_TYPE_IP4) { in is_action_keys_supported()
2643 } else if (htype == FLOW_ACT_MANGLE_HDR_TYPE_IP6) { in is_action_keys_supported()
2751 .mangle.htype = FLOW_ACT_MANGLE_HDR_TYPE_ETH, in add_vlan_rewrite_action()
/Linux-v5.4/include/net/
Dflow_offload.h172 enum flow_action_mangle_base htype; member
/Linux-v5.4/net/batman-adv/
Ddistributed-arp-table.c77 __u8 htype; member
1538 __u8 htype; in batadv_dat_check_dhcp() member
1554 if (!dhcp_h || dhcp_h->htype != BATADV_HTYPE_ETHERNET || in batadv_dat_check_dhcp()
/Linux-v5.4/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.4/drivers/staging/gdm724x/
Dgdm_lte.c583 u8 htype; /* hardware address type. in gdm_lte_netif_rx() member
/Linux-v5.4/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_cmn.c417 enum eth_rss_hash_type htype; in bnx2x_get_rxhash() local
419 htype = cqe->status_flags & ETH_FAST_PATH_RX_CQE_RSS_HASH_TYPE; in bnx2x_get_rxhash()
420 *rxhash_type = ((htype == TCP_IPV4_HASH_TYPE) || in bnx2x_get_rxhash()
421 (htype == TCP_IPV6_HASH_TYPE)) ? in bnx2x_get_rxhash()