Home
last modified time | relevance | path

Searched refs:l4ip4_h (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/enetc/
H A Denetc_ethtool.c324 struct ethtool_tcpip4_spec *l4ip4_h, *l4ip4_m; in enetc_set_cls_entry() local
334 l4ip4_h = &fs->h_u.tcp_ip4_spec; in enetc_set_cls_entry()
338 l4ip4_h = &fs->h_u.udp_ip4_spec; in enetc_set_cls_entry()
342 l4ip4_h = &fs->h_u.sctp_ip4_spec; in enetc_set_cls_entry()
345 rfse.sip_h[0] = l4ip4_h->ip4src; in enetc_set_cls_entry()
347 rfse.dip_h[0] = l4ip4_h->ip4dst; in enetc_set_cls_entry()
349 rfse.sport_h = ntohs(l4ip4_h->psrc); in enetc_set_cls_entry()
351 rfse.dport_h = ntohs(l4ip4_h->pdst); in enetc_set_cls_entry()
/kernel/linux/linux-6.6/drivers/net/ethernet/freescale/enetc/
H A Denetc_ethtool.c519 struct ethtool_tcpip4_spec *l4ip4_h, *l4ip4_m; in enetc_set_cls_entry() local
529 l4ip4_h = &fs->h_u.tcp_ip4_spec; in enetc_set_cls_entry()
533 l4ip4_h = &fs->h_u.udp_ip4_spec; in enetc_set_cls_entry()
537 l4ip4_h = &fs->h_u.sctp_ip4_spec; in enetc_set_cls_entry()
540 rfse.sip_h[0] = l4ip4_h->ip4src; in enetc_set_cls_entry()
542 rfse.dip_h[0] = l4ip4_h->ip4dst; in enetc_set_cls_entry()
544 rfse.sport_h = ntohs(l4ip4_h->psrc); in enetc_set_cls_entry()
546 rfse.dport_h = ntohs(l4ip4_h->pdst); in enetc_set_cls_entry()

Completed in 3 milliseconds