Lines Matching defs:faddr
149 #define INPCBHASH_CONNECT(table, faddr, fport, laddr, lport) \
151 ((ntohl((faddr).s_addr) + ntohs(fport)) + \
769 inpcb_notify(struct inpcbtable *table, struct in_addr faddr, u_int fport_arg,
778 if (in_nullhost(faddr) || notify == NULL)
782 head = INPCBHASH_CONNECT(table, faddr, fport, laddr, lport);
787 if (in_hosteq(in4p_faddr(inp), faddr) &&
799 inpcb_notifyall(struct inpcbtable *table, struct in_addr faddr, int errno,
804 if (in_nullhost(faddr) || notify == NULL)
810 if (in_hosteq(in4p_faddr(inp), faddr))
974 * check if inp's faddr and laddr match with ours.
975 * our faddr is considered null.
1024 if (!in_nullhost(vp->faddr.v4))
1067 struct in_addr faddr, u_int fport_arg,
1078 head = INPCBHASH_CONNECT(table, faddr, fport, laddr, lport);
1083 if (in_hosteq(in4p_faddr(inp), faddr) &&
1090 if ((*table->vestige->lookup4)(faddr, fport_arg,
1097 printf("inpcb_lookup: faddr=%08x fport=%d laddr=%08x lport=%d\n",
1098 ntohl(faddr.s_addr), ntohs(fport),