Searched refs:bundle (Results 1 - 25 of 102) sorted by relevance

12345

/freebsd-10.1-release/usr.sbin/ppp/
H A Darp.h32 struct bundle;
34 extern int arp_ClearProxy(struct bundle *, struct in_addr);
35 extern int arp_SetProxy(struct bundle *, struct in_addr);
H A Dip.h34 struct bundle;
36 extern int ip_PushPacket(struct link *, struct bundle *);
37 extern int PacketCheck(struct bundle *, u_int32_t, const unsigned char *, int,
41 extern struct mbuf *ipv4_Input(struct bundle *, struct link *, struct mbuf *);
43 extern struct mbuf *ipv6_Input(struct bundle *, struct link *, struct mbuf *);
H A Dsystems.h33 struct bundle;
36 extern int system_Select(struct bundle *bundle, const char *, const char *,
H A Dtun.h37 struct bundle;
39 extern void tun_configure(struct bundle *);
H A Dbundle.h75 struct bundle { struct
161 ((d)->type == BUNDLE_DESCRIPTOR ? (struct bundle *)(d) : NULL)
163 extern struct bundle *bundle_Create(const char *, int, int);
164 extern void bundle_Destroy(struct bundle *);
165 extern const char *bundle_PhaseName(struct bundle *);
167 extern void bundle_NewPhase(struct bundle *, u_int);
168 extern void bundle_LinksRemoved(struct bundle *);
169 extern void bundle_Close(struct bundle *, const char *, int);
170 extern void bundle_Down(struct bundle *, int);
171 extern void bundle_Open(struct bundle *, cons
[all...]
H A Dserver.h29 struct bundle;
57 extern enum server_stat server_LocalOpen(struct bundle *, const char *, mode_t);
58 extern enum server_stat server_TcpOpen(struct bundle *, u_short);
59 extern enum server_stat server_Reopen(struct bundle *);
60 extern int server_Close(struct bundle *);
61 extern int server_Clear(struct bundle *);
H A Dbundle.c84 #include "bundle.h"
108 static int bundle_RemainingIdleTime(struct bundle *);
115 bundle_PhaseName(struct bundle *bundle) argument
117 return bundle->phase <= PHASE_TERMINATE ?
118 PhaseNames[bundle->phase] : "unknown";
122 bundle_NewPhase(struct bundle *bundle, u_int new) argument
124 if (new == bundle->phase)
128 log_Printf(LogPHASE, "bundle
174 bundle_Notify(struct bundle *bundle, char c) argument
198 struct bundle *bundle = (struct bundle *)v; local
225 bundle_LinkAdded(struct bundle *bundle, struct datalink *dl) argument
245 bundle_LinksRemoved(struct bundle *bundle) argument
279 struct bundle *bundle = (struct bundle *)v; local
316 struct bundle *bundle = (struct bundle *)v; local
371 struct bundle *bundle = (struct bundle *)v; local
386 bundle_Close(struct bundle *bundle, const char *name, int how) argument
442 bundle_Down(struct bundle *bundle, int how) argument
453 struct bundle *bundle = descriptor2bundle(d); local
513 struct bundle *bundle = descriptor2bundle(d); local
532 bundle_DescriptorRead(struct fdescriptor *d __unused, struct bundle *bundle, const fd_set *fdset) argument
644 bundle_DescriptorWrite(struct fdescriptor *d __unused, struct bundle *bundle, const fd_set *fdset) argument
669 bundle_LockTun(struct bundle *bundle) argument
688 bundle_UnlockTun(struct bundle *bundle) argument
699 static struct bundle bundle; /* there can be only one */ local
901 bundle_DownInterface(struct bundle *bundle) argument
908 bundle_Destroy(struct bundle *bundle) argument
946 bundle_LinkClosed(struct bundle *bundle, struct datalink *dl) argument
982 bundle_Open(struct bundle *bundle, const char *name, int mask, int force) argument
1007 bundle2datalink(struct bundle *bundle, const char *name) argument
1056 optval(struct bundle *bundle, int opt) argument
1159 struct bundle *bundle = (struct bundle *)v; local
1171 bundle_StartIdleTimer(struct bundle *bundle, unsigned secs) argument
1200 bundle_SetIdleTimer(struct bundle *bundle, unsigned timeout, unsigned min_timeout) argument
1210 bundle_StopIdleTimer(struct bundle *bundle) argument
1217 bundle_RemainingIdleTime(struct bundle *bundle) argument
1229 struct bundle *bundle = (struct bundle *)v; local
1237 bundle_StartSessionTimer(struct bundle *bundle, unsigned secs) argument
1257 bundle_StopSessionTimer(struct bundle *bundle) argument
1266 bundle_IsDead(struct bundle *bundle) argument
1272 bundle_DatalinkLinkout(struct bundle *bundle, struct datalink *dl) argument
1288 bundle_DatalinkLinkin(struct bundle *bundle, struct datalink *dl) argument
1303 bundle_CleanDatalinks(struct bundle *bundle) argument
1322 bundle_DatalinkClone(struct bundle *bundle, struct datalink *dl, const char *name) argument
1335 bundle_DatalinkRemove(struct bundle *bundle, struct datalink *dl) argument
1343 bundle_SetLabel(struct bundle *bundle, const char *label) argument
1352 bundle_GetLabel(struct bundle *bundle) argument
1378 bundle_ReceiveDatalink(struct bundle *bundle, int s) argument
1668 bundle_RenameDatalink(struct bundle *bundle, struct datalink *ndl, const char *name) argument
1685 bundle_SetMode(struct bundle *bundle, struct datalink *dl, int mode) argument
1716 bundle_setsid(struct bundle *bundle, int holdsession) argument
1833 bundle_HighestState(struct bundle *bundle) argument
1846 bundle_Exception(struct bundle *bundle, int fd) argument
1860 bundle_AdjustFilters(struct bundle *bundle, struct ncpaddr *local, struct ncpaddr *remote) argument
1870 bundle_AdjustDNS(struct bundle *bundle) argument
1881 bundle_CalculateBandwidth(struct bundle *bundle) argument
1940 bundle_AutoAdjust(struct bundle *bundle, int percent, int what) argument
1982 bundle_WantAutoloadTimer(struct bundle *bundle) argument
2005 bundle_ChangedPID(struct bundle *bundle) argument
2013 bundle_Uptime(struct bundle *bundle) argument
[all...]
H A Dvjcomp.h32 struct bundle;
H A Dlayer.h43 struct bundle;
48 struct mbuf *(*push)(struct bundle *, struct link *, struct mbuf *,
50 struct mbuf *(*pull)(struct bundle *, struct link *, struct mbuf *,
H A Droute.h31 struct bundle;
57 extern void route_IfDelete(struct bundle *, int);
58 extern void route_UpdateMTU(struct bundle *);
60 extern void route_Change(struct bundle *, struct sticky_route *,
66 extern void route_Clean(struct bundle *, struct sticky_route *);
70 extern int rt_Set(struct bundle *, int, const struct ncprange *,
72 extern void rt_Update(struct bundle *, const struct sockaddr *,
H A Dcommand.h32 struct bundle;
42 struct bundle *bundle; /* Our bundle */ member in struct:cmdargs
64 extern void command_Expand(char **, int, char const *const *, struct bundle *,
69 extern void command_Run(struct bundle *, int, char const *const *,
71 extern int command_Decode(struct bundle *, char *, int, struct prompt *,
H A Dpap.h40 extern struct mbuf *pap_Input(struct bundle *, struct link *, struct mbuf *);
H A Dtun.c80 #include "bundle.h"
84 tun_configure(struct bundle *bundle) argument
97 sprintf(ifr.ifr_name, "tun%d", bundle->unit);
98 ifr.ifr_mtu = bundle->iface->mtu;
109 info.mtu = bundle->iface->mtu;
111 info.baudrate = bundle->bandwidth;
115 if (ID0ioctl(bundle->dev.fd, TUNSIFINFO, &info) < 0)
H A Dtcpmss.c66 #include "bundle.h"
144 tcpmss_Check(struct bundle *bundle, struct mbuf *bp) argument
149 if (!Enabled(bundle, OPT_TCPMSSFIXUP))
165 MAXMSS(bundle->iface->mtu));
171 tcpmss_LayerPush(struct bundle *bundle, struct link *l __unused, argument
174 return tcpmss_Check(bundle, bp);
178 tcpmss_LayerPull(struct bundle *bundle, struc argument
[all...]
H A Dpap.c71 #include "bundle.h"
85 struct bundle *bundle = authp->physical->dl->bundle; local
91 namelen = strlen(bundle->cfg.auth.name);
92 keylen = strlen(bundle->cfg.auth.key);
95 log_Printf(LogPHASE, "Pap Output: %s ********\n", bundle->cfg.auth.name);
96 if (*bundle->cfg.auth.name == '\0')
105 memcpy(cp, bundle->cfg.auth.name, namelen);
108 memcpy(cp, bundle
145 struct bundle *bundle = authp->physical->dl->bundle; local
180 pap_Input(struct bundle *bundle, struct link *l, struct mbuf *bp) argument
[all...]
H A Dmain.c86 #include "bundle.h"
105 static void DoLoop(struct bundle *);
108 static struct bundle *SignalBundle;
308 struct bundle *bundle; local
384 if ((bundle = bundle_Create(TUN_PREFIX, sw.mode, sw.unit)) == NULL)
389 SignalBundle = bundle;
390 bundle->NatEnabled = sw.nat;
392 opt_enable(bundle, OPT_IFACEALIAS);
394 if (system_Select(bundle, "defaul
540 DoLoop(struct bundle *bundle) argument
[all...]
H A Dauth.h32 struct bundle;
63 extern int auth_Validate(struct bundle *, const char *, const char *);
66 extern int auth_Select(struct bundle *, const char *);
H A Ddescriptor.h39 struct bundle;
46 void (*Read)(struct fdescriptor *, struct bundle *, const fd_set *);
47 int (*Write)(struct fdescriptor *, struct bundle *, const fd_set *);
H A Dsync.c52 sync_LayerPush(struct bundle *bundle __unused, struct link *l __unused,
62 sync_LayerPull(struct bundle *b __unused, struct link *l, struct mbuf *bp,
H A Dmp.h31 struct bundle;
101 int min; /* Lowest percent of bundle->bandwidth */
102 int max; /* Highest percent of bundle->bandwidth out */
109 struct bundle *bundle; /* Parent */ member in struct:mp
132 extern void mp_Init(struct mp *, struct bundle *);
136 extern struct mbuf *mp_Input(struct bundle *, struct link *, struct mbuf *);
137 extern int mp_FillPhysicalQueues(struct bundle *);
H A Dipv6cp.c71 #include "bundle.h"
199 struct bundle *bundle = ipv6cp->fsm.bundle; local
231 if (!iface_Add(bundle->iface, &bundle->ncp, &myrange, &ipv6cp->hisaddr,
235 if (!Enabled(bundle, OPT_IFACEALIAS))
236 iface_Clear(bundle->iface, &bundle->ncp, AF_INET6,
241 rt_Set(bundle, RTM_AD
265 ipv6cp_Init(struct ipv6cp *ipv6cp, struct bundle *bundle, struct link *l, const struct fsm_parent *parent) argument
351 ipv6cp_Input(struct bundle *bundle, struct link *l, struct mbuf *bp) argument
423 struct bundle *bundle = ipv6cp->fsm.bundle; local
[all...]
H A Dncp.c71 #include "bundle.h"
96 ncp_Init(struct ncp *ncp, struct bundle *bundle) argument
115 mp_Init(&ncp->mp, bundle);
118 ipcp_Init(&ncp->ipcp, bundle, &bundle->links->physical->link,
119 &bundle->fsm);
121 ipv6cp_Init(&ncp->ipv6cp, bundle, &bundle->links->physical->link,
122 &bundle
313 ncp_FillPhysicalQueues(struct ncp *ncp, struct bundle *bundle) argument
348 struct bundle *bundle = l->lcp.fsm.bundle; local
[all...]
H A Dipcp.c91 #include "bundle.h"
273 bundle_AdjustDNS(ipcp->fsm.bundle);
361 struct ipcp *ipcp = &arg->bundle->ncp.ipcp;
432 arg->bundle->ncp.ipcp.cfg.vj.slots = slots;
436 arg->bundle->ncp.ipcp.cfg.vj.slotcomp = 1;
438 arg->bundle->ncp.ipcp.cfg.vj.slotcomp = 0;
447 ipcp_Init(struct ipcp *ipcp, struct bundle *bundle, struct link *l, argument
457 bundle, l, parent, &ipcp_Callbacks, timer_names);
523 struct iface *iface = ipcp->fsm.bundle
624 struct bundle *bundle = ipcp->fsm.bundle; local
666 struct bundle *bundle = ipcp->fsm.bundle; local
713 ChooseHisAddr(struct bundle *bundle, struct in_addr gw) argument
848 struct bundle *bundle = ipcp->fsm.bundle; local
860 struct bundle *bundle = ipcp->fsm.bundle; local
980 struct bundle *bundle = ipcp->fsm.bundle; local
1341 ipcp_Input(struct bundle *bundle, struct link *l, struct mbuf *bp) argument
1357 ipcp_UseHisIPaddr(struct bundle *bundle, struct in_addr hisaddr) argument
1372 ipcp_UseHisaddr(struct bundle *bundle, const char *hisaddr, int setaddr) argument
1444 struct bundle *bundle = ipcp->fsm.bundle; local
[all...]
/freebsd-10.1-release/tools/regression/ia64/emulated/
H A Dtest.c49 union bundle { union
55 * Machine code of a bundle containing a long branch. The predicate of the
57 * The assembly of the bundle is:
88 mc_patch(union bundle *b, unsigned long val, int start, int len)
107 assemble_brl_cond(union bundle *b, int pred, unsigned long tgt)
120 assemble_epilogue(union bundle *b, int retval)
137 test_cond(int pred, union bundle *src, union bundle *dst)
148 static union bundle blob_low[2];
149 union bundle *blob_hig
[all...]
/freebsd-10.1-release/sys/ia64/ia64/
H A Demulate.c42 struct asm_bundle bundle; local
46 if (!asm_decode(tf->tf_special.iip, &bundle))
51 if (slot == 1 && bundle.b_templ[slot] == 'L')
54 i = bundle.b_inst + slot;
60 * the next bundle in that case.

Completed in 90 milliseconds

12345