ncpaddr
bundle_AdjustFilters(struct bundle *bundle, struct ncpaddr *local,
struct ncpaddr *remote)
extern void bundle_AdjustFilters(struct bundle *, struct ncpaddr *,
struct ncpaddr *);
struct ncpaddr ncpaddr;
ncprange_getaddr(&ncp->ipcp.cfg.my_range, &ncpaddr);
ncpaddr_getip4(&ncpaddr, &ncp->ipcp.my_ip);
bundle_AdjustFilters(arg->bundle, &ncpaddr, NULL);
struct ncpaddr ncpaddr[2];
ncpaddr_aton(ncpaddr, &arg->bundle->ncp, arg->argv[arg->argn]);
if (!ncpaddr_getip4(ncpaddr, ipaddr))
ncpaddr_aton(ncpaddr + 1, &arg->bundle->ncp, arg->argv[arg->argn + 1]);
if (!ncpaddr_getip4(ncpaddr + 1, ipaddr + 1))
struct ncpaddr gw;
struct ncpaddr peer, addr;
struct ncpaddr ifa;
substipv6(char *tgt, const char *oldstr, const struct ncpaddr *ip)
filter_AdjustAddr(struct filter *filter, struct ncpaddr *local,
struct ncpaddr *remote, struct in_addr *dns)
extern void filter_AdjustAddr(struct filter *, struct ncpaddr *,
struct ncpaddr *, struct in_addr *);
const struct ncpaddr *peer, int how)
struct ncpaddr ncplocal;
iface_Delete(struct iface *iface, struct ncp *ncp, const struct ncpaddr *del)
struct ncpaddr found;
struct ncpaddr ncpaddr;
ncprange_getaddr(&iface->addr[f].ifa, &ncpaddr);
prompt_Printf(arg->prompt, " inet %s --> ", ncpaddr_ntoa(&ncpaddr));
prompt_Printf(arg->prompt, " inet6 %s", ncpaddr_ntoa(&ncpaddr));
struct ncpaddr peer; /* peer address */
const struct ncpaddr *, int);
extern int iface_Delete(struct iface *, struct ncp *, const struct ncpaddr *);
struct ncpaddr srcaddr, dstaddr;
struct ncpaddr srcaddr, dstaddr;
struct ncpaddr ncpaddr;
ncpaddr_setip4(&ncpaddr, ipcp->my_ip);
bundle_AdjustFilters(fp->bundle, &ncpaddr, NULL);
struct ncpaddr ncpaddr;
ncpaddr_setip4(&ncpaddr, ipcp->peer_ip);
bundle_AdjustFilters(bundle, NULL, &ncpaddr);
struct ncpaddr ipaddr;
struct ncpaddr myncpaddr, hisncpaddr;
struct ncpaddr addr;
struct ncpaddr myaddr; /* Local address */
struct ncpaddr hisaddr; /* Peer address */
ncpaddr_init(struct ncpaddr *addr)
ncpaddr_isset(const struct ncpaddr *addr)
ncpaddr_isdefault(const struct ncpaddr *addr)
ncpaddr_equal(const struct ncpaddr *addr, const struct ncpaddr *cmp)
ncpaddr_copy(struct ncpaddr *addr, const struct ncpaddr *from)
ncpaddr_setip4addr(struct ncpaddr *addr, u_int32_t ip)
ncpaddr_getip4addr(const struct ncpaddr *addr, u_int32_t *ip)
ncpaddr_setip4(struct ncpaddr *addr, struct in_addr ip)
ncpaddr_getip4(const struct ncpaddr *addr, struct in_addr *ip)
ncpaddr_setip6(struct ncpaddr *addr, const struct in6_addr *ip6)
ncpaddr_getip6(const struct ncpaddr *addr, struct in6_addr *ip6)
ncpaddr_getsa(const struct ncpaddr *addr, struct sockaddr_storage *host)
ncpaddr_setsa(struct ncpaddr *addr, const struct sockaddr *host)
ncpaddr_ntowa(const struct ncpaddr *addr)
ncpaddr_ntoa(const struct ncpaddr *addr)
ncpaddr_aton(struct ncpaddr *addr, struct ncp *ncp, const char *data)
ncprange_contains(const struct ncprange *range, const struct ncpaddr *addr)
ncprange_set(struct ncprange *range, const struct ncpaddr *addr, int width)
ncprange_sethost(struct ncprange *range, const struct ncpaddr *from)
ncprange_getaddr(const struct ncprange *range, struct ncpaddr *addr)
struct ncpaddr addr;
extern void ncpaddr_init(struct ncpaddr *);
extern int ncpaddr_isset(const struct ncpaddr *);
extern int ncpaddr_isdefault(const struct ncpaddr *);
extern int ncpaddr_equal(const struct ncpaddr *, const struct ncpaddr *);
extern void ncpaddr_copy(struct ncpaddr *, const struct ncpaddr *);
extern void ncpaddr_setip4addr(struct ncpaddr *, u_int32_t);
extern int ncpaddr_getip4addr(const struct ncpaddr *, u_int32_t *);
extern void ncpaddr_setip4(struct ncpaddr *, struct in_addr);
extern int ncpaddr_getip4(const struct ncpaddr *, struct in_addr *);
extern void ncpaddr_setip6(struct ncpaddr *, const struct in6_addr *);
extern int ncpaddr_getip6(const struct ncpaddr *, struct in6_addr *);
extern void ncpaddr_getsa(const struct ncpaddr *, struct sockaddr_storage *);
extern void ncpaddr_setsa(struct ncpaddr *, const struct sockaddr *);
extern const char *ncpaddr_ntoa(const struct ncpaddr *);
extern int ncpaddr_aton(struct ncpaddr *, struct ncp *, const char *);
extern int ncprange_contains(const struct ncprange *, const struct ncpaddr *);
extern void ncprange_set(struct ncprange *, const struct ncpaddr *, int);
extern void ncprange_sethost(struct ncprange *, const struct ncpaddr *);
extern int ncprange_getaddr(const struct ncprange *, struct ncpaddr *);
struct ncpaddr gw;
struct ncpaddr gw;
const struct ncpaddr *me, const struct ncpaddr *peer)
struct ncpaddr dst;
const struct ncpaddr *gw)
const struct ncpaddr *gw, int bang, int quiet)
struct ncpaddr gw;
const struct ncpaddr *, const struct ncpaddr *);
const struct ncpaddr *);
const struct ncpaddr *, int, int);
struct ncpaddr addr;