Home
last modified time | relevance | path

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

/freebsd/usr.sbin/ppp/
H A Dncpaddr.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 …]
H A Droute.h52 struct ncpaddr gw;
61 const struct ncpaddr *, const struct ncpaddr *);
63 const struct ncpaddr *);
71 const struct ncpaddr *, int, int);
H A Dncpaddr.c181 ncpaddr_init(struct ncpaddr *addr) in ncpaddr_init()
187 ncpaddr_isset(const struct ncpaddr *addr) in ncpaddr_isset()
193 ncpaddr_isdefault(const struct ncpaddr *addr) in ncpaddr_isdefault()
213 ncpaddr_equal(const struct ncpaddr *addr, const struct ncpaddr *cmp) in ncpaddr_equal()
236 ncpaddr_copy(struct ncpaddr *addr, const struct ncpaddr *from) in ncpaddr_copy()
255 ncpaddr_setip4addr(struct ncpaddr *addr, u_int32_t ip) in ncpaddr_setip4addr()
262 ncpaddr_getip4addr(const struct ncpaddr *addr, u_int32_t *ip) in ncpaddr_getip4addr()
271 ncpaddr_setip4(struct ncpaddr *addr, struct in_addr ip) in ncpaddr_setip4()
278 ncpaddr_getip4(const struct ncpaddr *addr, struct in_addr *ip) in ncpaddr_getip4()
288 ncpaddr_setip6(struct ncpaddr *addr, const struct in6_addr *ip6) in ncpaddr_setip6()
[all …]
H A Diface.h34 struct ncpaddr peer; /* peer address */
62 const struct ncpaddr *, int);
63 extern int iface_Delete(struct iface *, struct ncp *, const struct ncpaddr *);
H A Dfilter.h100 extern void filter_AdjustAddr(struct filter *, struct ncpaddr *,
101 struct ncpaddr *, struct in_addr *);
H A Dipv6cp.h49 struct ncpaddr myaddr; /* Local address */
50 struct ncpaddr hisaddr; /* Peer address */
H A Diface.c510 const struct ncpaddr *peer, int how) in iface_Add()
514 struct ncpaddr ncplocal; in iface_Add()
595 iface_Delete(struct iface *iface, struct ncp *ncp, const struct ncpaddr *del) in iface_Delete()
597 struct ncpaddr found; in iface_Delete()
742 struct ncpaddr ncpaddr; in iface_Show() local
773 ncprange_getaddr(&iface->addr[f].ifa, &ncpaddr); in iface_Show()
776 prompt_Printf(arg->prompt, " inet %s --> ", ncpaddr_ntoa(&ncpaddr)); in iface_Show()
787 prompt_Printf(arg->prompt, " inet6 %s", ncpaddr_ntoa(&ncpaddr)); in iface_Show()
H A Dbundle.h208 extern void bundle_AdjustFilters(struct bundle *, struct ncpaddr *,
209 struct ncpaddr *);
H A Dipcp.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()
H A Droute.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()
H A DMakefile9 mbuf.c mp.c ncp.c ncpaddr.c pap.c physical.c pred.c probe.c prompt.c \
H A Dcommand.c498 substipv6(char *tgt, const char *oldstr, const struct ncpaddr *ip) in substipv6()
1567 struct ncpaddr ncpaddr; in SetInterfaceAddr() local
1597 ncprange_getaddr(&ncp->ipcp.cfg.my_range, &ncpaddr); in SetInterfaceAddr()
1598 ncpaddr_getip4(&ncpaddr, &ncp->ipcp.my_ip); in SetInterfaceAddr()
1601 bundle_AdjustFilters(arg->bundle, &ncpaddr, NULL); in SetInterfaceAddr()
1661 struct ncpaddr ncpaddr[2]; in SetVariable() local
2133 ncpaddr_aton(ncpaddr, &arg->bundle->ncp, arg->argv[arg->argn]); in SetVariable()
2134 if (!ncpaddr_getip4(ncpaddr, ipaddr)) in SetVariable()
2137 ncpaddr_aton(ncpaddr + 1, &arg->bundle->ncp, arg->argv[arg->argn + 1]); in SetVariable()
2138 if (!ncpaddr_getip4(ncpaddr + 1, ipaddr + 1)) in SetVariable()
[all …]
H A Dfilter.c561 filter_AdjustAddr(struct filter *filter, struct ncpaddr *local, in filter_AdjustAddr()
562 struct ncpaddr *remote, struct in_addr *dns) in filter_AdjustAddr()
H A Dip.c228 struct ncpaddr srcaddr, dstaddr; in FilterCheck()
573 struct ncpaddr srcaddr, dstaddr; in PacketCheck()
H A Dserver.c100 struct ncpaddr addr; in server_Read()
H A Dipv6cp.c202 struct ncpaddr addr; in ipcp_SetIPv6address()
H A Dbundle.c1857 bundle_AdjustFilters(struct bundle *bundle, struct ncpaddr *local, in bundle_AdjustFilters()
1858 struct ncpaddr *remote) in bundle_AdjustFilters()
H A Dradius.c255 struct ncpaddr gw; in radius_Process()