Home
last modified time | relevance | path

Searched refs:ip_spec (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_ethtool.c1349 static bool bnxt_verify_ntuple_ip4_flow(struct ethtool_usrip4_spec *ip_spec, in bnxt_verify_ntuple_ip4_flow() argument
1353 u8 sproto = ip_spec->proto; in bnxt_verify_ntuple_ip4_flow()
1356 ip_spec->ip_ver != ETH_RX_NFC_IP4 || in bnxt_verify_ntuple_ip4_flow()
1362 static bool bnxt_verify_ntuple_ip6_flow(struct ethtool_usrip6_spec *ip_spec, in bnxt_verify_ntuple_ip6_flow() argument
1366 u8 sproto = ip_spec->l4_proto; in bnxt_verify_ntuple_ip6_flow()
1421 struct ethtool_usrip4_spec *ip_spec = &fs->h_u.usr_ip4_spec; in bnxt_add_ntuple_cls_rule() local
1424 fkeys->basic.ip_proto = ip_mask->proto ? ip_spec->proto in bnxt_add_ntuple_cls_rule()
1427 fkeys->addrs.v4addrs.src = ip_spec->ip4src; in bnxt_add_ntuple_cls_rule()
1429 fkeys->addrs.v4addrs.dst = ip_spec->ip4dst; in bnxt_add_ntuple_cls_rule()
1435 struct ethtool_tcpip4_spec *ip_spec = &fs->h_u.tcp_ip4_spec; in bnxt_add_ntuple_cls_rule() local
[all …]
/linux/kernel/bpf/
H A Dhelpers.c827 char fmt_ptype, cur_ip[16], ip_spec[] = "%pXX"; in bpf_bprintf_prepare() local
963 ip_spec[2] = fmt[i - 1]; in bpf_bprintf_prepare()
964 ip_spec[3] = fmt[i]; in bpf_bprintf_prepare()
966 ip_spec, &cur_ip); in bpf_bprintf_prepare()