/freebsd-11-stable/usr.sbin/ppp/ |
H A D | arp.h | 34 struct bundle; 36 extern int arp_ClearProxy(struct bundle *, struct in_addr); 37 extern int arp_SetProxy(struct bundle *, struct in_addr);
|
H A D | ip.h | 36 struct bundle; 38 extern int ip_PushPacket(struct link *, struct bundle *); 39 extern int PacketCheck(struct bundle *, u_int32_t, const unsigned char *, int, 43 extern struct mbuf *ipv4_Input(struct bundle *, struct link *, struct mbuf *); 45 extern struct mbuf *ipv6_Input(struct bundle *, struct link *, struct mbuf *);
|
H A D | systems.h | 35 struct bundle; 38 extern int system_Select(struct bundle *bundle, const char *, const char *,
|
H A D | tun.h | 39 struct bundle; 41 extern void tun_configure(struct bundle *);
|
H A D | bundle.h | 28 * $FreeBSD: stable/11/usr.sbin/ppp/bundle.h 330449 2018-03-05 07:26:05Z eadler $ 77 struct bundle { struct 163 ((d)->type == BUNDLE_DESCRIPTOR ? (struct bundle *)(d) : NULL) 165 extern struct bundle *bundle_Create(const char *, int, int); 166 extern void bundle_Destroy(struct bundle *); 167 extern const char *bundle_PhaseName(struct bundle *); 169 extern void bundle_NewPhase(struct bundle *, u_int); 170 extern void bundle_LinksRemoved(struct bundle *); 171 extern void bundle_Close(struct bundle *, const char *, int); 172 extern void bundle_Down(struct bundle *, in [all...] |
H A D | server.h | 31 struct bundle; 59 extern enum server_stat server_LocalOpen(struct bundle *, const char *, mode_t); 60 extern enum server_stat server_TcpOpen(struct bundle *, u_short); 61 extern enum server_stat server_Reopen(struct bundle *); 62 extern int server_Close(struct bundle *); 63 extern int server_Clear(struct bundle *);
|
H A D | bundle.c | 28 * $FreeBSD: stable/11/usr.sbin/ppp/bundle.c 330449 2018-03-05 07:26:05Z eadler $ 86 #include "bundle.h" 110 static int bundle_RemainingIdleTime(struct bundle *); 117 bundle_PhaseName(struct bundle *bundle) argument 119 return bundle->phase <= PHASE_TERMINATE ? 120 PhaseNames[bundle->phase] : "unknown"; 124 bundle_NewPhase(struct bundle *bundle, u_int new) argument 126 if (new == bundle 176 bundle_Notify(struct bundle *bundle, char c) argument 200 struct bundle *bundle = (struct bundle *)v; local 227 bundle_LinkAdded(struct bundle *bundle, struct datalink *dl) argument 247 bundle_LinksRemoved(struct bundle *bundle) argument 281 struct bundle *bundle = (struct bundle *)v; local 318 struct bundle *bundle = (struct bundle *)v; local 373 struct bundle *bundle = (struct bundle *)v; local 388 bundle_Close(struct bundle *bundle, const char *name, int how) argument 444 bundle_Down(struct bundle *bundle, int how) argument 455 struct bundle *bundle = descriptor2bundle(d); local 515 struct bundle *bundle = descriptor2bundle(d); local 534 bundle_DescriptorRead(struct fdescriptor *d __unused, struct bundle *bundle, const fd_set *fdset) argument 646 bundle_DescriptorWrite(struct fdescriptor *d __unused, struct bundle *bundle, const fd_set *fdset) argument 671 bundle_LockTun(struct bundle *bundle) argument 690 bundle_UnlockTun(struct bundle *bundle) argument 701 static struct bundle bundle; /* there can be only one */ local 903 bundle_DownInterface(struct bundle *bundle) argument 910 bundle_Destroy(struct bundle *bundle) argument 948 bundle_LinkClosed(struct bundle *bundle, struct datalink *dl) argument 984 bundle_Open(struct bundle *bundle, const char *name, int mask, int force) argument 1009 bundle2datalink(struct bundle *bundle, const char *name) argument 1058 optval(struct bundle *bundle, int opt) argument 1161 struct bundle *bundle = (struct bundle *)v; local 1173 bundle_StartIdleTimer(struct bundle *bundle, unsigned secs) argument 1202 bundle_SetIdleTimer(struct bundle *bundle, unsigned timeout, unsigned min_timeout) argument 1212 bundle_StopIdleTimer(struct bundle *bundle) argument 1219 bundle_RemainingIdleTime(struct bundle *bundle) argument 1231 struct bundle *bundle = (struct bundle *)v; local 1239 bundle_StartSessionTimer(struct bundle *bundle, unsigned secs) argument 1259 bundle_StopSessionTimer(struct bundle *bundle) argument 1268 bundle_IsDead(struct bundle *bundle) argument 1274 bundle_DatalinkLinkout(struct bundle *bundle, struct datalink *dl) argument 1290 bundle_DatalinkLinkin(struct bundle *bundle, struct datalink *dl) argument 1305 bundle_CleanDatalinks(struct bundle *bundle) argument 1324 bundle_DatalinkClone(struct bundle *bundle, struct datalink *dl, const char *name) argument 1337 bundle_DatalinkRemove(struct bundle *bundle, struct datalink *dl) argument 1345 bundle_SetLabel(struct bundle *bundle, const char *label) argument 1354 bundle_GetLabel(struct bundle *bundle) argument 1380 bundle_ReceiveDatalink(struct bundle *bundle, int s) argument 1670 bundle_RenameDatalink(struct bundle *bundle, struct datalink *ndl, const char *name) argument 1687 bundle_SetMode(struct bundle *bundle, struct datalink *dl, int mode) argument 1718 bundle_setsid(struct bundle *bundle, int holdsession) argument 1835 bundle_HighestState(struct bundle *bundle) argument 1848 bundle_Exception(struct bundle *bundle, int fd) argument 1862 bundle_AdjustFilters(struct bundle *bundle, struct ncpaddr *local, struct ncpaddr *remote) argument 1872 bundle_AdjustDNS(struct bundle *bundle) argument 1883 bundle_CalculateBandwidth(struct bundle *bundle) argument 1942 bundle_AutoAdjust(struct bundle *bundle, int percent, int what) argument 1984 bundle_WantAutoloadTimer(struct bundle *bundle) argument 2007 bundle_ChangedPID(struct bundle *bundle) argument 2015 bundle_Uptime(struct bundle *bundle) argument [all...] |
H A D | vjcomp.h | 34 struct bundle;
|
H A D | layer.h | 45 struct bundle; 50 struct mbuf *(*push)(struct bundle *, struct link *, struct mbuf *, 52 struct mbuf *(*pull)(struct bundle *, struct link *, struct mbuf *,
|
H A D | route.h | 33 struct bundle; 59 extern void route_IfDelete(struct bundle *, int); 60 extern void route_UpdateMTU(struct bundle *); 62 extern void route_Change(struct bundle *, struct sticky_route *, 68 extern void route_Clean(struct bundle *, struct sticky_route *); 72 extern int rt_Set(struct bundle *, int, const struct ncprange *, 74 extern void rt_Update(struct bundle *, const struct sockaddr *,
|
H A D | command.h | 34 struct bundle; 44 struct bundle *bundle; /* Our bundle */ member in struct:cmdargs 66 extern void command_Expand(char **, int, char const *const *, struct bundle *, 71 extern void command_Run(struct bundle *, int, char const *const *, 73 extern int command_Decode(struct bundle *, char *, int, struct prompt *,
|
H A D | pap.h | 42 extern struct mbuf *pap_Input(struct bundle *, struct link *, struct mbuf *);
|
H A D | tun.c | 82 #include "bundle.h" 86 tun_configure(struct bundle *bundle) argument 99 sprintf(ifr.ifr_name, "tun%d", bundle->unit); 100 ifr.ifr_mtu = bundle->iface->mtu; 111 info.mtu = bundle->iface->mtu; 113 info.baudrate = bundle->bandwidth; 117 if (ID0ioctl(bundle->dev.fd, TUNSIFINFO, &info) < 0)
|
H A D | tcpmss.c | 68 #include "bundle.h" 146 tcpmss_Check(struct bundle *bundle, struct mbuf *bp) argument 151 if (!Enabled(bundle, OPT_TCPMSSFIXUP)) 167 MAXMSS(bundle->iface->mtu)); 173 tcpmss_LayerPush(struct bundle *bundle, struct link *l __unused, argument 176 return tcpmss_Check(bundle, bp); 180 tcpmss_LayerPull(struct bundle *bundle, struc argument [all...] |
H A D | pap.c | 73 #include "bundle.h" 87 struct bundle *bundle = authp->physical->dl->bundle; local 93 namelen = strlen(bundle->cfg.auth.name); 94 keylen = strlen(bundle->cfg.auth.key); 97 log_Printf(LogPHASE, "Pap Output: %s ********\n", bundle->cfg.auth.name); 98 if (*bundle->cfg.auth.name == '\0') 107 memcpy(cp, bundle->cfg.auth.name, namelen); 110 memcpy(cp, bundle 147 struct bundle *bundle = authp->physical->dl->bundle; local 182 pap_Input(struct bundle *bundle, struct link *l, struct mbuf *bp) argument [all...] |
H A D | main.c | 88 #include "bundle.h" 107 static void DoLoop(struct bundle *); 110 static struct bundle *SignalBundle; 310 struct bundle *bundle; local 386 if ((bundle = bundle_Create(TUN_PREFIX, sw.mode, sw.unit)) == NULL) 391 SignalBundle = bundle; 392 bundle->NatEnabled = sw.nat; 394 opt_enable(bundle, OPT_IFACEALIAS); 396 if (system_Select(bundle, "defaul 542 DoLoop(struct bundle *bundle) argument [all...] |
H A D | descriptor.h | 41 struct bundle; 48 void (*Read)(struct fdescriptor *, struct bundle *, const fd_set *); 49 int (*Write)(struct fdescriptor *, struct bundle *, const fd_set *);
|
H A D | auth.h | 34 struct bundle; 65 extern int auth_Validate(struct bundle *, const char *, const char *); 68 extern int auth_Select(struct bundle *, const char *);
|
H A D | sync.c | 54 sync_LayerPush(struct bundle *bundle __unused, struct link *l __unused, 64 sync_LayerPull(struct bundle *b __unused, struct link *l, struct mbuf *bp,
|
H A D | mp.h | 33 struct bundle; 103 int min; /* Lowest percent of bundle->bandwidth */ 104 int max; /* Highest percent of bundle->bandwidth out */ 111 struct bundle *bundle; /* Parent */ member in struct:mp 134 extern void mp_Init(struct mp *, struct bundle *); 138 extern struct mbuf *mp_Input(struct bundle *, struct link *, struct mbuf *); 139 extern int mp_FillPhysicalQueues(struct bundle *);
|
H A D | ipv6cp.c | 73 #include "bundle.h" 201 struct bundle *bundle = ipv6cp->fsm.bundle; local 233 if (!iface_Add(bundle->iface, &bundle->ncp, &myrange, &ipv6cp->hisaddr, 237 if (!Enabled(bundle, OPT_IFACEALIAS)) 238 iface_Clear(bundle->iface, &bundle->ncp, AF_INET6, 243 rt_Set(bundle, RTM_AD 267 ipv6cp_Init(struct ipv6cp *ipv6cp, struct bundle *bundle, struct link *l, const struct fsm_parent *parent) argument 353 ipv6cp_Input(struct bundle *bundle, struct link *l, struct mbuf *bp) argument 425 struct bundle *bundle = ipv6cp->fsm.bundle; local [all...] |
H A D | ncp.c | 73 #include "bundle.h" 98 ncp_Init(struct ncp *ncp, struct bundle *bundle) argument 117 mp_Init(&ncp->mp, bundle); 120 ipcp_Init(&ncp->ipcp, bundle, &bundle->links->physical->link, 121 &bundle->fsm); 123 ipv6cp_Init(&ncp->ipv6cp, bundle, &bundle->links->physical->link, 124 &bundle 315 ncp_FillPhysicalQueues(struct ncp *ncp, struct bundle *bundle) argument 350 struct bundle *bundle = l->lcp.fsm.bundle; local [all...] |
H A D | ipcp.c | 93 #include "bundle.h" 275 bundle_AdjustDNS(ipcp->fsm.bundle); 363 struct ipcp *ipcp = &arg->bundle->ncp.ipcp; 434 arg->bundle->ncp.ipcp.cfg.vj.slots = slots; 438 arg->bundle->ncp.ipcp.cfg.vj.slotcomp = 1; 440 arg->bundle->ncp.ipcp.cfg.vj.slotcomp = 0; 449 ipcp_Init(struct ipcp *ipcp, struct bundle *bundle, struct link *l, argument 459 bundle, l, parent, &ipcp_Callbacks, timer_names); 525 struct iface *iface = ipcp->fsm.bundle 626 struct bundle *bundle = ipcp->fsm.bundle; local 668 struct bundle *bundle = ipcp->fsm.bundle; local 715 ChooseHisAddr(struct bundle *bundle, struct in_addr gw) argument 850 struct bundle *bundle = ipcp->fsm.bundle; local 862 struct bundle *bundle = ipcp->fsm.bundle; local 982 struct bundle *bundle = ipcp->fsm.bundle; local 1343 ipcp_Input(struct bundle *bundle, struct link *l, struct mbuf *bp) argument 1359 ipcp_UseHisIPaddr(struct bundle *bundle, struct in_addr hisaddr) argument 1374 ipcp_UseHisaddr(struct bundle *bundle, const char *hisaddr, int setaddr) argument 1446 struct bundle *bundle = ipcp->fsm.bundle; local [all...] |
H A D | async.h | 49 struct bundle;
|
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/Process/Darwin/ |
H A D | CFBundle.cpp | 36 // Set the path for a bundle by supplying a 39 // Release our old bundle and ULR 57 CFBundleRef bundle = get(); local 58 if (bundle != NULL) 59 return ::CFBundleGetIdentifier(bundle); 64 CFBundleRef bundle = get(); local 65 if (bundle != NULL) 66 return CFBundleCopyExecutableURL(bundle);
|