tnl 6465 drivers/net/ethernet/sfc/ef10.c struct efx_udp_tunnel tnl) tnl 6477 drivers/net/ethernet/sfc/ef10.c efx_get_udp_tunnel_type_name(tnl.type, typebuf, sizeof(typebuf)); tnl 6479 drivers/net/ethernet/sfc/ef10.c typebuf, ntohs(tnl.port)); tnl 6487 drivers/net/ethernet/sfc/ef10.c match = __efx_ef10_udp_tnl_lookup_port(efx, tnl.port); tnl 6489 drivers/net/ethernet/sfc/ef10.c if (match->type == tnl.type) { tnl 6501 drivers/net/ethernet/sfc/ef10.c ntohs(tnl.port), typebuf); tnl 6508 drivers/net/ethernet/sfc/ef10.c nic_data->udp_tunnels[i] = tnl; tnl 6516 drivers/net/ethernet/sfc/ef10.c typebuf, ntohs(tnl.port)); tnl 6548 drivers/net/ethernet/sfc/ef10.c struct efx_udp_tunnel tnl) tnl 6559 drivers/net/ethernet/sfc/ef10.c efx_get_udp_tunnel_type_name(tnl.type, typebuf, sizeof(typebuf)); tnl 6561 drivers/net/ethernet/sfc/ef10.c typebuf, ntohs(tnl.port)); tnl 6569 drivers/net/ethernet/sfc/ef10.c match = __efx_ef10_udp_tnl_lookup_port(efx, tnl.port); tnl 6571 drivers/net/ethernet/sfc/ef10.c if (match->type == tnl.type) { tnl 6576 drivers/net/ethernet/sfc/ef10.c ntohs(tnl.port)); tnl 6587 drivers/net/ethernet/sfc/ef10.c ntohs(tnl.port), typebuf); tnl 2433 drivers/net/ethernet/sfc/efx.c struct efx_udp_tunnel tnl; tnl 2440 drivers/net/ethernet/sfc/efx.c tnl.type = (u16)efx_tunnel_type; tnl 2441 drivers/net/ethernet/sfc/efx.c tnl.port = ti->port; tnl 2444 drivers/net/ethernet/sfc/efx.c (void)efx->type->udp_tnl_add_port(efx, tnl); tnl 2450 drivers/net/ethernet/sfc/efx.c struct efx_udp_tunnel tnl; tnl 2457 drivers/net/ethernet/sfc/efx.c tnl.type = (u16)efx_tunnel_type; tnl 2458 drivers/net/ethernet/sfc/efx.c tnl.port = ti->port; tnl 2461 drivers/net/ethernet/sfc/efx.c (void)efx->type->udp_tnl_del_port(efx, tnl); tnl 1413 drivers/net/ethernet/sfc/net_driver.h int (*udp_tnl_add_port)(struct efx_nic *efx, struct efx_udp_tunnel tnl); tnl 1415 drivers/net/ethernet/sfc/net_driver.h int (*udp_tnl_del_port)(struct efx_nic *efx, struct efx_udp_tunnel tnl); tnl 1691 net/ipv6/ip6_tunnel.c struct ip6_tnl *tnl = netdev_priv(dev); tnl 1693 net/ipv6/ip6_tunnel.c if (tnl->parms.proto == IPPROTO_IPV6) { tnl 1700 net/ipv6/ip6_tunnel.c if (tnl->parms.proto == IPPROTO_IPV6 || tnl->parms.proto == 0) { tnl 1714 net/tipc/link.c void tipc_link_tnl_prepare(struct tipc_link *l, struct tipc_link *tnl, tnl 1717 net/tipc/link.c struct sk_buff_head *fdefq = &tnl->failover_deferdq; tnl 1727 net/tipc/link.c if (!tnl) tnl 1751 net/tipc/link.c if (mtyp == SYNCH_MSG && (tnl->peer_caps & TIPC_TUNNEL_ENHANCED)) { tnl 1767 net/tipc/link.c tipc_link_xmit(tnl, &tnlq, xmitq); tnl 1781 net/tipc/link.c tnl: tnl 1797 net/tipc/link.c if (pktlen > tnl->mtu - INT_H_SIZE) { tnl 1799 net/tipc/link.c (tnl->peer_caps & TIPC_TUNNEL_ENHANCED)) { tnl 1800 net/tipc/link.c rc = tipc_msg_fragment(skb, &tnlhdr, tnl->mtu, tnl 1833 net/tipc/link.c goto tnl; tnl 1842 net/tipc/link.c tipc_link_xmit(tnl, &tnlq, xmitq); tnl 1845 net/tipc/link.c tnl->drop_point = l->rcv_nxt; tnl 1846 net/tipc/link.c tnl->failover_reasm_skb = l->reasm_buf; tnl 1869 net/tipc/link.c void tipc_link_failover_prepare(struct tipc_link *l, struct tipc_link *tnl, tnl 1872 net/tipc/link.c struct sk_buff_head *fdefq = &tnl->failover_deferdq; tnl 1874 net/tipc/link.c tipc_link_create_dummy_tnl_msg(tnl, xmitq); tnl 1882 net/tipc/link.c tnl->drop_point = 1; tnl 1883 net/tipc/link.c tnl->failover_reasm_skb = NULL; tnl 89 net/tipc/link.h void tipc_link_tnl_prepare(struct tipc_link *l, struct tipc_link *tnl, tnl 91 net/tipc/link.h void tipc_link_create_dummy_tnl_msg(struct tipc_link *tnl, tnl 93 net/tipc/link.h void tipc_link_failover_prepare(struct tipc_link *l, struct tipc_link *tnl, tnl 779 net/tipc/node.c struct tipc_link *tnl, tnl 783 net/tipc/node.c if (!tipc_link_is_up(tnl)) tnl 790 net/tipc/node.c tipc_link_fsm_evt(tnl, LINK_SYNCH_END_EVT); tnl 793 net/tipc/node.c n->sync_point = tipc_link_rcv_nxt(tnl) + (U16_MAX / 2 - 1); tnl 794 net/tipc/node.c tipc_link_failover_prepare(l, tnl, xmitq); tnl 812 net/tipc/node.c struct tipc_link *l, *_l, *tnl; tnl 865 net/tipc/node.c tnl = n->links[*bearer_id].link; tnl 866 net/tipc/node.c tipc_link_fsm_evt(tnl, LINK_SYNCH_END_EVT); tnl 868 net/tipc/node.c n->sync_point = tipc_link_rcv_nxt(tnl) + (U16_MAX / 2 - 1); tnl 869 net/tipc/node.c tipc_link_tnl_prepare(l, tnl, FAILOVER_MSG, xmitq); tnl 1657 net/tipc/node.c struct tipc_link *l, *tnl, *pl = NULL; tnl 1768 net/tipc/node.c tnl = l; tnl 1770 net/tipc/node.c tnl = pl; tnl 1776 net/tipc/node.c tipc_link_fsm_evt(tnl, LINK_SYNCH_END_EVT); tnl 69 samples/bpf/xdp_tx_iptunnel_kern.c const struct iptnl_info *tnl, tnl 73 samples/bpf/xdp_tx_iptunnel_kern.c memcpy(new_eth->h_dest, tnl->dmac, sizeof(new_eth->h_dest)); tnl 81 samples/bpf/xdp_tx_iptunnel_kern.c struct iptnl_info *tnl; tnl 105 samples/bpf/xdp_tx_iptunnel_kern.c tnl = bpf_map_lookup_elem(&vip2tnl, &vip); tnl 107 samples/bpf/xdp_tx_iptunnel_kern.c if (!tnl || tnl->family != AF_INET) tnl 127 samples/bpf/xdp_tx_iptunnel_kern.c set_ethhdr(new_eth, old_eth, tnl, htons(ETH_P_IP)); tnl 136 samples/bpf/xdp_tx_iptunnel_kern.c iph->daddr = tnl->daddr.v4; tnl 137 samples/bpf/xdp_tx_iptunnel_kern.c iph->saddr = tnl->saddr.v4; tnl 156 samples/bpf/xdp_tx_iptunnel_kern.c struct iptnl_info *tnl; tnl 177 samples/bpf/xdp_tx_iptunnel_kern.c tnl = bpf_map_lookup_elem(&vip2tnl, &vip); tnl 179 samples/bpf/xdp_tx_iptunnel_kern.c if (!tnl || tnl->family != AF_INET6) tnl 199 samples/bpf/xdp_tx_iptunnel_kern.c set_ethhdr(new_eth, old_eth, tnl, htons(ETH_P_IPV6)); tnl 207 samples/bpf/xdp_tx_iptunnel_kern.c memcpy(ip6h->saddr.s6_addr32, tnl->saddr.v6, sizeof(tnl->saddr.v6)); tnl 208 samples/bpf/xdp_tx_iptunnel_kern.c memcpy(ip6h->daddr.s6_addr32, tnl->daddr.v6, sizeof(tnl->daddr.v6)); tnl 165 samples/bpf/xdp_tx_iptunnel_user.c struct iptnl_info tnl = {}; tnl 172 samples/bpf/xdp_tx_iptunnel_user.c tnl.family = AF_UNSPEC; tnl 204 samples/bpf/xdp_tx_iptunnel_user.c v6 = tnl.saddr.v6; tnl 206 samples/bpf/xdp_tx_iptunnel_user.c v6 = tnl.daddr.v6; tnl 211 samples/bpf/xdp_tx_iptunnel_user.c if (tnl.family == AF_UNSPEC) { tnl 212 samples/bpf/xdp_tx_iptunnel_user.c tnl.family = family; tnl 213 samples/bpf/xdp_tx_iptunnel_user.c } else if (tnl.family != family) { tnl 221 samples/bpf/xdp_tx_iptunnel_user.c (struct ether_addr *)tnl.dmac)) { tnl 287 samples/bpf/xdp_tx_iptunnel_user.c if (bpf_map_update_elem(vip2tnl_map_fd, &vip, &tnl, tnl 72 tools/testing/selftests/bpf/progs/test_xdp.c const struct iptnl_info *tnl, tnl 76 tools/testing/selftests/bpf/progs/test_xdp.c memcpy(new_eth->h_dest, tnl->dmac, sizeof(new_eth->h_dest)); tnl 84 tools/testing/selftests/bpf/progs/test_xdp.c struct iptnl_info *tnl; tnl 108 tools/testing/selftests/bpf/progs/test_xdp.c tnl = bpf_map_lookup_elem(&vip2tnl, &vip); tnl 110 tools/testing/selftests/bpf/progs/test_xdp.c if (!tnl || tnl->family != AF_INET) tnl 128 tools/testing/selftests/bpf/progs/test_xdp.c set_ethhdr(new_eth, old_eth, tnl, bpf_htons(ETH_P_IP)); tnl 137 tools/testing/selftests/bpf/progs/test_xdp.c iph->daddr = tnl->daddr.v4; tnl 138 tools/testing/selftests/bpf/progs/test_xdp.c iph->saddr = tnl->saddr.v4; tnl 157 tools/testing/selftests/bpf/progs/test_xdp.c struct iptnl_info *tnl; tnl 178 tools/testing/selftests/bpf/progs/test_xdp.c tnl = bpf_map_lookup_elem(&vip2tnl, &vip); tnl 180 tools/testing/selftests/bpf/progs/test_xdp.c if (!tnl || tnl->family != AF_INET6) tnl 197 tools/testing/selftests/bpf/progs/test_xdp.c set_ethhdr(new_eth, old_eth, tnl, bpf_htons(ETH_P_IPV6)); tnl 205 tools/testing/selftests/bpf/progs/test_xdp.c memcpy(ip6h->saddr.s6_addr32, tnl->saddr.v6, sizeof(tnl->saddr.v6)); tnl 206 tools/testing/selftests/bpf/progs/test_xdp.c memcpy(ip6h->daddr.s6_addr32, tnl->daddr.v6, sizeof(tnl->daddr.v6)); tnl 68 tools/testing/selftests/bpf/progs/test_xdp_loop.c const struct iptnl_info *tnl, tnl 72 tools/testing/selftests/bpf/progs/test_xdp_loop.c memcpy(new_eth->h_dest, tnl->dmac, sizeof(new_eth->h_dest)); tnl 80 tools/testing/selftests/bpf/progs/test_xdp_loop.c struct iptnl_info *tnl; tnl 104 tools/testing/selftests/bpf/progs/test_xdp_loop.c tnl = bpf_map_lookup_elem(&vip2tnl, &vip); tnl 106 tools/testing/selftests/bpf/progs/test_xdp_loop.c if (!tnl || tnl->family != AF_INET) tnl 124 tools/testing/selftests/bpf/progs/test_xdp_loop.c set_ethhdr(new_eth, old_eth, tnl, bpf_htons(ETH_P_IP)); tnl 133 tools/testing/selftests/bpf/progs/test_xdp_loop.c iph->daddr = tnl->daddr.v4; tnl 134 tools/testing/selftests/bpf/progs/test_xdp_loop.c iph->saddr = tnl->saddr.v4; tnl 153 tools/testing/selftests/bpf/progs/test_xdp_loop.c struct iptnl_info *tnl; tnl 174 tools/testing/selftests/bpf/progs/test_xdp_loop.c tnl = bpf_map_lookup_elem(&vip2tnl, &vip); tnl 176 tools/testing/selftests/bpf/progs/test_xdp_loop.c if (!tnl || tnl->family != AF_INET6) tnl 193 tools/testing/selftests/bpf/progs/test_xdp_loop.c set_ethhdr(new_eth, old_eth, tnl, bpf_htons(ETH_P_IPV6)); tnl 201 tools/testing/selftests/bpf/progs/test_xdp_loop.c memcpy(ip6h->saddr.s6_addr32, tnl->saddr.v6, sizeof(tnl->saddr.v6)); tnl 202 tools/testing/selftests/bpf/progs/test_xdp_loop.c memcpy(ip6h->daddr.s6_addr32, tnl->daddr.v6, sizeof(tnl->daddr.v6));