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.c1315 static bool bnxt_verify_ntuple_ip4_flow(struct ethtool_usrip4_spec *ip_spec, in bnxt_verify_ntuple_ip4_flow() argument
1319 u8 sproto = ip_spec->proto; in bnxt_verify_ntuple_ip4_flow()
1322 ip_spec->ip_ver != ETH_RX_NFC_IP4 || in bnxt_verify_ntuple_ip4_flow()
1328 static bool bnxt_verify_ntuple_ip6_flow(struct ethtool_usrip6_spec *ip_spec, in bnxt_verify_ntuple_ip6_flow() argument
1332 u8 sproto = ip_spec->l4_proto; in bnxt_verify_ntuple_ip6_flow()
1387 struct ethtool_usrip4_spec *ip_spec = &fs->h_u.usr_ip4_spec; in bnxt_add_ntuple_cls_rule() local
1390 fkeys->basic.ip_proto = ip_mask->proto ? ip_spec->proto in bnxt_add_ntuple_cls_rule()
1393 fkeys->addrs.v4addrs.src = ip_spec->ip4src; in bnxt_add_ntuple_cls_rule()
1395 fkeys->addrs.v4addrs.dst = ip_spec->ip4dst; in bnxt_add_ntuple_cls_rule()
1401 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
948 ip_spec[2] = fmt[i - 1]; in bpf_bprintf_prepare()
949 ip_spec[3] = fmt[i]; in bpf_bprintf_prepare()
951 ip_spec, &cur_ip); in bpf_bprintf_prepare()