Home
last modified time | relevance | path

Searched refs:inp_laddr (Results 1 – 22 of 22) sorted by relevance

/freebsd/sys/netinet/
H A Draw_ip.c159 inp->inp_laddr.s_addr != INADDR_ANY && in rip_inshash()
161 hash = INP_PCBHASH_RAW(inp->inp_ip_p, inp->inp_laddr.s_addr, in rip_inshash()
260 if (inp->inp_laddr.s_addr != ctx->ip->ip_dst.s_addr) in rip_inp_match1()
279 if (!in_nullhost(inp->inp_laddr) && in rip_inp_match2()
280 !in_hosteq(inp->inp_laddr, ctx->ip->ip_dst)) in rip_inp_match2()
470 ip->ip_src = inp->inp_laddr; in rip_send()
950 inp->inp_laddr = addr->sin_addr; in rip_bind()
H A Din_pcb.c366 inp->inp_laddr.s_addr == INADDR_ANY && in in_pcbinslbgrouphash()
688 if (inp->inp_lport != 0 || inp->inp_laddr.s_addr != INADDR_ANY) in in_pcbbind()
691 error = in_pcbbind_setup(inp, sin, &inp->inp_laddr.s_addr, in in_pcbbind()
696 inp->inp_laddr.s_addr = INADDR_ANY; in in_pcbbind()
968 !in_nullhost(t->inp_laddr) || in in_pcbbind_setup()
981 !in_nullhost(t->inp_laddr) || in in_pcbbind_setup()
1020 laddr = inp->inp_laddr.s_addr; in in_pcbconnect()
1031 if (inp->inp_laddr.s_addr == INADDR_ANY && inp->inp_lport == 0) { in in_pcbconnect()
1033 inp->inp_laddr.s_addr = laddr; in in_pcbconnect()
1035 inp->inp_laddr.s_addr = inp->inp_faddr.s_addr = in in_pcbconnect()
[all …]
H A Dudp_usrreq.c338 if (inp->inp_laddr.s_addr != INADDR_ANY && in udp_multi_match()
339 inp->inp_laddr.s_addr != ip->ip_dst.s_addr) in udp_multi_match()
1127 use_cached_route = sin == NULL || (inp->inp_laddr.s_addr == INADDR_ANY && inp->inp_lport == 0); in udp_send()
1230 laddr = inp->inp_laddr; in udp_send()
1288 if (inp->inp_laddr.s_addr == INADDR_ANY || in udp_send()
1312 if (inp->inp_laddr.s_addr == INADDR_ANY && in udp_send()
1320 inp->inp_laddr = laddr; in udp_send()
H A Dsiftr.c656 return fib4_calc_packet_hash(inp->inp_laddr, in siftr_get_flowid()
825 inet_ntoa_r(inp->inp_laddr, info.laddr); in siftr_chkpkt()
H A Din_pcb.h236 #define inp_laddr inp_inc.inc_laddr macro
H A Dtcp_syncache.c825 inp->inp_laddr = sc->sc_inc.inc_laddr; in syncache_socket()
H A Dtcp_input.c947 inp->inp_laddr, in tcp_input_with_port()
H A Dtcp_subr.c1688 ip->ip_src = inp->inp_laddr; in tcpip_fillheaders()
/freebsd/usr.bin/netstat/
H A Dinet.c284 inp->inp_laddr.s_addr == INADDR_ANY) in protopr()
291 inp->inp_laddr.s_addr == INADDR_ANY) in protopr()
411 inetprint("local", &inp->inp_laddr, in protopr()
433 inetprint("local", &inp->inp_laddr, in protopr()
455 inetprint("local", &inp->inp_laddr, in protopr()
/freebsd/usr.bin/systat/
H A Dnetstat.c202 if (inpcb->inp_laddr.s_addr == INADDR_ANY) in fetchnetstat_kvm()
290 if (xip->inp_laddr.s_addr == INADDR_ANY) in fetchnetstat_sysctl()
/freebsd/contrib/bsnmp/snmp_mibII/
H A DmibII_udp.c136 inaddr = ntohl(inp->inp_laddr.s_addr); in fetch_udp()
H A DmibII_tcp.c161 inaddr = ntohl(tp->xt_inp.inp_laddr.s_addr); in fetch_tcp()
/freebsd/sys/netipsec/
H A Dipsec_pcb.c114 sin->sin_addr = inp->inp_laddr; in ipsec_setsockaddrs_inpcb()
/freebsd/sys/dev/mlx5/mlx5_core/
H A Dmlx5_fs_tcp.c52 &inp->inp_laddr, 4); in accel_fs_tcp_set_ipv4_flow()
/freebsd/usr.bin/sockstat/
H A Dsockstat.c750 __IN_IS_ADDR_LOOPBACK(&xip->inp_laddr))) in gather_inet()
780 &xip->inp_laddr, xip->inp_lport); in gather_inet()
/freebsd/sys/security/audit/
H A Daudit_arg.c709 pcb->inp_laddr.s_addr; in audit_arg_file()
/freebsd/sys/dev/cxgbe/tom/
H A Dt4_listen.c580 req->local_ip = inp->inp_laddr.s_addr; in create_server()
673 IN_LOOPBACK(ntohl(inp->inp_laddr.s_addr))) in t4_listen_start()
H A Dt4_tom.c1628 ip->ip_src = inp->inp_laddr; in prepare_pkt()
1631 ip->ip_src = inp->inp_laddr; in prepare_pkt()
/freebsd/sys/dev/mlx5/mlx5_accel/
H A Dmlx5_ipsec.c627 attrs->saddr.a4 = inp->inp_laddr.s_addr; in mlx5e_ipsec_build_accel_pol_attrs()
/freebsd/sys/netinet6/
H A Din6_pcb.c304 (!in_nullhost(t->inp_laddr) || in in6_pcbbind()
H A Dudp6_usrreq.c1164 else if (inp->inp_laddr.s_addr == INADDR_ANY && in udp6_connect()
/freebsd/sys/ofed/drivers/infiniband/ulp/sdp/
H A Dsdp_main.c1818 memcpy(&xt.xt_inp.inp_laddr, &ssk->laddr, sizeof(ssk->laddr)); in sdp_pcblist()