Home
last modified time | relevance | path

Searched refs:ncpaddr (Results 1 – 18 of 18) sorted by relevance

/NextBSD/usr.sbin/ppp/
HDncpaddr.h49 struct ncpaddr { struct
61 extern void ncpaddr_init(struct ncpaddr *); argument
62 extern int ncpaddr_isset(const struct ncpaddr *);
63 extern int ncpaddr_isdefault(const struct ncpaddr *);
64 extern int ncpaddr_equal(const struct ncpaddr *, const struct ncpaddr *);
65 extern void ncpaddr_copy(struct ncpaddr *, const struct ncpaddr *);
66 extern void ncpaddr_setip4addr(struct ncpaddr *, u_int32_t);
67 extern int ncpaddr_getip4addr(const struct ncpaddr *, u_int32_t *);
68 extern void ncpaddr_setip4(struct ncpaddr *, struct in_addr);
69 extern int ncpaddr_getip4(const struct ncpaddr *, struct in_addr *);
[all …]
HDroute.h52 struct ncpaddr gw;
61 const struct ncpaddr *, const struct ncpaddr *);
63 const struct ncpaddr *);
71 const struct ncpaddr *, int, int);
HDncpaddr.c183 ncpaddr_init(struct ncpaddr *addr) in ncpaddr_init()
189 ncpaddr_isset(const struct ncpaddr *addr) in ncpaddr_isset()
195 ncpaddr_isdefault(const struct ncpaddr *addr) in ncpaddr_isdefault()
215 ncpaddr_equal(const struct ncpaddr *addr, const struct ncpaddr *cmp) in ncpaddr_equal()
238 ncpaddr_copy(struct ncpaddr *addr, const struct ncpaddr *from) in ncpaddr_copy()
257 ncpaddr_setip4addr(struct ncpaddr *addr, u_int32_t ip) in ncpaddr_setip4addr()
264 ncpaddr_getip4addr(const struct ncpaddr *addr, u_int32_t *ip) in ncpaddr_getip4addr()
273 ncpaddr_setip4(struct ncpaddr *addr, struct in_addr ip) in ncpaddr_setip4()
280 ncpaddr_getip4(const struct ncpaddr *addr, struct in_addr *ip) in ncpaddr_getip4()
290 ncpaddr_setip6(struct ncpaddr *addr, const struct in6_addr *ip6) in ncpaddr_setip6()
[all …]
HDiface.h34 struct ncpaddr peer; /* peer address */
62 const struct ncpaddr *, int);
63 extern int iface_Delete(struct iface *, struct ncp *, const struct ncpaddr *);
HDfilter.h100 extern void filter_AdjustAddr(struct filter *, struct ncpaddr *,
101 struct ncpaddr *, struct in_addr *);
HDipv6cp.h49 struct ncpaddr myaddr; /* Local address */
50 struct ncpaddr hisaddr; /* Peer address */
HDiface.c527 const struct ncpaddr *peer, int how) in iface_Add()
531 struct ncpaddr ncplocal; in iface_Add()
612 iface_Delete(struct iface *iface, struct ncp *ncp, const struct ncpaddr *del) in iface_Delete()
614 struct ncpaddr found; in iface_Delete()
759 struct ncpaddr ncpaddr; in iface_Show() local
790 ncprange_getaddr(&iface->addr[f].ifa, &ncpaddr); in iface_Show()
793 prompt_Printf(arg->prompt, " inet %s --> ", ncpaddr_ntoa(&ncpaddr)); in iface_Show()
804 prompt_Printf(arg->prompt, " inet6 %s", ncpaddr_ntoa(&ncpaddr)); in iface_Show()
HDbundle.h208 extern void bundle_AdjustFilters(struct bundle *, struct ncpaddr *,
209 struct ncpaddr *);
HDipcp.c524 struct ncpaddr ipaddr; in ipcp_Setup()
667 struct ncpaddr myncpaddr, hisncpaddr; in ipcp_SetIPaddress()
1058 struct ncpaddr ncpaddr; in IpcpDecodeConfig() local
1094 ncpaddr_setip4(&ncpaddr, ipcp->my_ip); in IpcpDecodeConfig()
1095 bundle_AdjustFilters(fp->bundle, &ncpaddr, NULL); in IpcpDecodeConfig()
1377 struct ncpaddr ncpaddr; in ipcp_UseHisaddr() local
1409 ncpaddr_setip4(&ncpaddr, ipcp->peer_ip); in ipcp_UseHisaddr()
1410 bundle_AdjustFilters(bundle, NULL, &ncpaddr); in ipcp_UseHisaddr()
HDroute.c439 struct ncpaddr gw; in route_IfDelete()
544 const struct ncpaddr *me, const struct ncpaddr *peer) in route_Change()
546 struct ncpaddr dst; in route_Change()
597 const struct ncpaddr *gw) in route_Add()
735 const struct ncpaddr *gw, int bang, int quiet) in rt_Set()
HDMakefile10 mbuf.c mp.c ncp.c ncpaddr.c pap.c physical.c pred.c probe.c prompt.c \
HDcommand.c498 substipv6(char *tgt, const char *oldstr, const struct ncpaddr *ip) in substipv6()
1563 struct ncpaddr ncpaddr; in SetInterfaceAddr() local
1593 ncprange_getaddr(&ncp->ipcp.cfg.my_range, &ncpaddr); in SetInterfaceAddr()
1594 ncpaddr_getip4(&ncpaddr, &ncp->ipcp.my_ip); in SetInterfaceAddr()
1597 bundle_AdjustFilters(arg->bundle, &ncpaddr, NULL); in SetInterfaceAddr()
1657 struct ncpaddr ncpaddr[2]; in SetVariable() local
2129 ncpaddr_aton(ncpaddr, &arg->bundle->ncp, arg->argv[arg->argn]); in SetVariable()
2130 if (!ncpaddr_getip4(ncpaddr, ipaddr)) in SetVariable()
2133 ncpaddr_aton(ncpaddr + 1, &arg->bundle->ncp, arg->argv[arg->argn + 1]); in SetVariable()
2134 if (!ncpaddr_getip4(ncpaddr + 1, ipaddr + 1)) in SetVariable()
[all …]
HDfilter.c561 filter_AdjustAddr(struct filter *filter, struct ncpaddr *local, in filter_AdjustAddr()
562 struct ncpaddr *remote, struct in_addr *dns) in filter_AdjustAddr()
HDip.c228 struct ncpaddr srcaddr, dstaddr; in FilterCheck()
573 struct ncpaddr srcaddr, dstaddr; in PacketCheck()
HDserver.c100 struct ncpaddr addr; in server_Read()
HDipv6cp.c202 struct ncpaddr addr; in ipcp_SetIPv6address()
HDbundle.c1860 bundle_AdjustFilters(struct bundle *bundle, struct ncpaddr *local, in bundle_AdjustFilters()
1861 struct ncpaddr *remote) in bundle_AdjustFilters()
HDradius.c255 struct ncpaddr gw; in radius_Process()