Home
last modified time | relevance | path

Searched refs:local_ip (Results 1 – 9 of 9) sorted by relevance

/net/core/
Dnetpoll.c438 udph->check = csum_ipv6_magic(&np->local_ip.in6, in netpoll_send_udp()
458 ip6h->saddr = np->local_ip.in6; in netpoll_send_udp()
466 udph->check = csum_tcpudp_magic(np->local_ip.ip, in netpoll_send_udp()
486 put_unaligned(np->local_ip.ip, &(iph->saddr)); in netpoll_send_udp()
508 np_info(np, "local IPv6 address %pI6c\n", &np->local_ip.in6); in netpoll_print_options()
510 np_info(np, "local IPv4 address %pI4\n", &np->local_ip.ip); in netpoll_print_options()
562 ipv6 = netpoll_parse_ip_addr(cur, &np->local_ip); in netpoll_parse_options()
726 if (!np->local_ip.ip) { in netpoll_setup()
743 np->local_ip.ip = ifa->ifa_local; in netpoll_setup()
744 np_info(np, "local IP %pI4\n", &np->local_ip.ip); in netpoll_setup()
[all …]
/net/l2tp/
Dl2tp_core.h137 struct in_addr local_ip; member
Dl2tp_core.c1314 udp_conf.local_ip = cfg->local_ip; in l2tp_tunnel_sock_create()
1367 ip_addr.l2tp_addr = cfg->local_ip; in l2tp_tunnel_sock_create()
Dl2tp_netlink.c177 cfg->local_ip.s_addr = nla_get_in_addr(attrs[L2TP_ATTR_IP_SADDR]); in l2tp_nl_cmd_tunnel_create_get_addr()
/net/ipv4/
Dudp_tunnel_core.c28 udp_addr.sin_addr = cfg->local_ip; in udp_sock_create4()
Dfou_core.c503 if (sk->sk_rcv_saddr != udp_cfg->local_ip.s_addr || in fou_cfg_cmp()
690 cfg->udp_config.local_ip.s_addr = nla_get_in_addr(attr); in parse_nl_config()
/net/tipc/
Dudp_media.c739 udp_conf.local_ip.s_addr = htonl(INADDR_ANY); in tipc_udp_enable()
741 udp_conf.local_ip.s_addr = local.ipv4.s_addr; in tipc_udp_enable()
/net/rxrpc/
Dlocal_object.c177 udp_conf.local_ip = srx->transport.sin.sin_addr; in rxrpc_open_socket()
/net/sctp/
Dprotocol.c871 udp_conf.local_ip.s_addr = htonl(INADDR_ANY); in sctp_udp_sock_start()