/freebsd-current/usr.sbin/ppp/ |
H A D | sync.c | 52 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 D | mp.h | 31 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 D | ipv6cp.c | 71 #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 D | tcpmss.c | 69 #include "bundle.h" 149 tcpmss_Check(struct bundle *bundle, struct mbuf *bp) argument 158 if (!Enabled(bundle, OPT_TCPMSSFIXUP)) 178 MAXMSS4(bundle->iface->mtu)); 208 MAXMSS6(bundle->iface->mtu)); 219 tcpmss_LayerPush(struct bundle *bundle, struct link *l __unused, argument 222 return tcpmss_Check(bundle, bp); 226 tcpmss_LayerPull(struct bundle *bundl argument [all...] |
H A D | ipcp.c | 91 #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...] |
H A D | prompt.h | 37 struct bundle; 47 struct bundle *bundle; /* who I'm controlling */ member in struct:prompt 69 extern struct prompt *prompt_Create(struct server *, struct bundle *, int);
|
H A D | async.h | 47 struct bundle;
|
H A D | ccp.h | 130 int (*Set)(struct bundle *, struct fsm_opt *, const struct ccp_config *); 131 void *(*Init)(struct bundle *, struct fsm_opt *); 139 void (*OptInit)(struct bundle *, struct fsm_opt *, 141 int (*Set)(struct bundle *, struct fsm_opt *, const struct ccp_config *); 142 void *(*Init)(struct bundle *, struct fsm_opt *); 150 extern void ccp_Init(struct ccp *, struct bundle *, struct link *, 157 extern struct mbuf *ccp_Input(struct bundle *, struct link *, struct mbuf *);
|
H A D | datalink.h | 52 struct bundle; 121 struct bundle *bundle; /* for the moment */ member in struct:datalink 128 extern struct datalink *datalink_Create(const char *name, struct bundle *, int); 130 extern struct datalink *iov2datalink(struct bundle *, struct iovec *, int *,
|
H A D | ipcp.h | 106 struct bundle; 111 extern void ipcp_Init(struct ipcp *, struct bundle *, struct link *, 118 extern struct mbuf *ipcp_Input(struct bundle *, struct link *, struct mbuf *); 121 extern int ipcp_UseHisIPaddr(struct bundle *, struct in_addr); 122 extern int ipcp_UseHisaddr(struct bundle *, const char *, int);
|
H A D | command.c | 95 #include "bundle.h" 296 bundle_DatalinkClone(arg->bundle, arg->cx, name); 313 bundle_DatalinkRemove(arg->bundle, arg->cx); 323 if (bundle_RenameDatalink(arg->bundle, arg->cx, arg->argv[arg->argn])) 337 mode = arg->bundle->phys_type.all; 347 bundle_SetLabel(arg->bundle, arg->argv[arg->argc - 1]); 348 system_Select(arg->bundle, arg->argv[n], CONFFILE, arg->prompt, arg->cx); 350 bundle_SetLabel(arg->bundle, arg->argv[arg->argc - 1]); 355 bundle_SetLabel(arg->bundle, "default"); 356 system_Select(arg->bundle, "defaul 521 command_Expand(char **nargv, int argc, char const *const *oargv, struct bundle *bundle, int inc0, pid_t pid) argument 1087 FindExec(struct bundle *bundle, struct cmdtab const *cmds, int argc, int argn, char const *const *argv, struct prompt *prompt, struct datalink *cx) argument 1187 command_Run(struct bundle *bundle, int argc, char const *const *argv, struct prompt *prompt, const char *label, struct datalink *cx) argument 1223 command_Decode(struct bundle *bundle, char *buff, int nb, struct prompt *prompt, const char *label) argument [all...] |
H A D | server.c | 89 server_Read(struct fdescriptor *d, struct bundle *bundle, const fd_set *fdset) argument 157 if ((p = prompt_Create(s, bundle, wfd)) == NULL) { 188 descriptor_Read(&p->desc, bundle, fdset); 195 server_Write(struct fdescriptor *d __unused, struct bundle *bundle __unused, 216 server_Reopen(struct bundle *bundle) argument 227 server_Close(bundle); 231 ret = server_LocalOpen(bundle, nam 243 server_LocalOpen(struct bundle *bundle, const char *name, mode_t mask) argument 310 server_TcpOpen(struct bundle *bundle, u_short port) argument 410 server_Clear(struct bundle *bundle) argument [all...] |
H A D | vjcomp.c | 67 #include "bundle.h" 73 vj_LayerPush(struct bundle *bundle, struct link *l __unused, struct mbuf *bp, argument 78 u_short cproto = bundle->ncp.ipcp.peer_compproto >> 16; 84 type = sl_compress_tcp(bp, pip, &bundle->ncp.ipcp.vj.cslc, 85 &bundle->ncp.ipcp.vj.slstat, 86 bundle->ncp.ipcp.peer_compproto & 0xff); 165 vj_LayerPull(struct bundle *bundle, struct link *l __unused, struct mbuf *bp, argument 184 return VjUncompressTcp(&bundle [all...] |
H A D | arp.c | 73 #include "bundle.h" 100 arp_ProxySub(struct bundle *bundle, struct in_addr addr, int add) argument 124 arpmsg.hdr.rtm_seq = ++bundle->routing_seq; 147 arp_SetProxy(struct bundle *bundle, struct in_addr addr) argument 149 return (arp_ProxySub(bundle, addr, 1)); 156 arp_ClearProxy(struct bundle *bundle, struct in_addr addr) argument 158 return (arp_ProxySub(bundle, add 167 arp_SetProxy(struct bundle *bundle, struct in_addr addr, int s) argument 204 arp_ClearProxy(struct bundle *bundle, struct in_addr addr, int s) argument [all...] |
H A D | mppe.c | 71 #include "bundle.h" 434 struct radius *r = &fp->bundle->radius; 465 if (*fp->bundle->radius.cfg.file && fp->bundle->radius.mppe.policy) 466 return fp->bundle->radius.mppe.policy == MPPE_POLICY_REQUIRED ? 1 : 0; 473 MPPE_ConfigVal(struct bundle *bundle __unused, const struct ccp_config *cfg) 483 if (*bundle->radius.cfg.file && bundle->radius.mppe.types) { 484 if (bundle 512 MPPEInitOptsOutput(struct bundle *bundle, struct fsm_opt *o, const struct ccp_config *cfg) argument 536 MPPESetOptsOutput(struct bundle *bundle, struct fsm_opt *o, const struct ccp_config *cfg) argument 575 MPPESetOptsInput(struct bundle *bundle, struct fsm_opt *o, const struct ccp_config *cfg) argument [all...] |
H A D | lqr.h | 69 struct bundle; 80 extern struct mbuf *lqr_Input(struct bundle *, struct link *, struct mbuf *);
|
H A D | ipv6cp.h | 62 struct bundle; 67 extern void ipv6cp_Init(struct ipv6cp *, struct bundle *, struct link *, 74 extern struct mbuf *ipv6cp_Input(struct bundle *, struct link *, struct mbuf *);
|
H A D | link.h | 36 struct bundle; 71 extern void link_PushPacket(struct link *, struct mbuf *, struct bundle *, 73 extern void link_PullPacket(struct link *, char *, size_t, struct bundle *);
|
H A D | ncp.c | 71 #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 D | auth.c | 85 #include "bundle.h" 215 auth_Select(struct bundle *bundle, const char *name) argument 223 ipcp_Setup(&bundle->ncp.ipcp, INADDR_NONE); 228 if (bundle->radius.valid && bundle->radius.ip.s_addr != INADDR_NONE && 229 bundle->radius.ip.s_addr != RADIUS_INADDR_POOL) { 231 if (!ipcp_UseHisIPaddr(bundle, bundle->radius.ip)) 233 ipcp_Setup(&bundle 296 auth_Validate(struct bundle *bundle, const char *name, const char *key) argument [all...] |
H A D | chap.c | 83 #include "bundle.h" 120 link_PushPacket(&physical->link, bp, physical->dl->bundle, 320 chap->auth.physical->dl->bundle, 0, pid); 421 chap_Read(struct fdescriptor *d, struct bundle *bundle __unused, 478 chap_Write(struct fdescriptor *d __unused, struct bundle *bundle __unused, 493 len = strlen(authp->physical->dl->bundle->cfg.auth.name); 500 if (*authp->physical->dl->bundle->radius.cfg.file) { 519 memcpy(cp, authp->physical->dl->bundle 551 struct bundle *bundle = authp->physical->dl->bundle; local 597 struct bundle *bundle = authp->physical->link.lcp.fsm.bundle; local 693 chap_Input(struct bundle *bundle, struct link *l, struct mbuf *bp) argument [all...] |
H A D | route.c | 77 #include "bundle.h" 379 route_IfDelete(struct bundle *bundle, int all) argument 389 log_Printf(LogDEBUG, "route_IfDelete (%d)\n", bundle->iface->index); 429 if (rtm->rtm_index == bundle->iface->index && 452 rt_Set(bundle, RTM_DELETE, &range, NULL, 0, 0); 470 route_UpdateMTU(struct bundle *bundle) argument 479 log_Printf(LogDEBUG, "route_UpdateMTU (%d)\n", bundle->iface->index); 513 sa[RTAX_GATEWAY] && rtm->rtm_index == bundle 543 route_Change(struct bundle *bundle, struct sticky_route *r, const struct ncpaddr *me, const struct ncpaddr *peer) argument 734 rt_Set(struct bundle *bundle, int cmd, const struct ncprange *dst, const struct ncpaddr *gw, int bang, int quiet) argument 859 rt_Update(struct bundle *bundle, const struct sockaddr *dst, const struct sockaddr *gw, const struct sockaddr *mask, const struct sockaddr *ifp, const struct sockaddr *ifa) argument [all...] |
H A D | mp.c | 86 #include "bundle.h" 174 bundle_CalculateBandwidth(fp->bundle); /* Against ccp_MTUOverhead */ 199 mp->bundle->bandwidth; 202 bundle_AutoAdjust(mp->bundle, percent, AUTO_UP); 205 bundle_AutoAdjust(mp->bundle, percent, AUTO_DOWN); 224 if (bundle_WantAutoloadTimer(mp->bundle)) 240 mp_Init(struct mp *mp, struct bundle *bundle) argument 253 mp->bundle = bundle; 612 mp_Input(struct bundle *bundle, struct link *l, struct mbuf *bp) argument 632 mp_Output(struct mp *mp, struct bundle *bundle, struct link *l, struct mbuf *m, u_int32_t begin, u_int32_t end) argument 666 mp_FillPhysicalQueues(struct bundle *bundle) argument 1078 mpserver_Read(struct fdescriptor *d, struct bundle *bundle, const fd_set *fdset __unused) argument [all...] |
H A D | radius.c | 96 #include "bundle.h" 251 struct bundle *bundle; local 401 bundle = r->cx.auth->physical->dl->bundle; 413 !ncprange_aton(&dest, &bundle->ncp, argv[0])) || 414 !ncpaddr_aton(&gw, &bundle->ncp, argv[1])) 433 ncpaddr_setip4(&gw, bundle->ncp.ipcp.peer_ip); 486 bundle = r->cx.auth->physical->dl->bundle; 1334 struct bundle *bundle = (struct bundle *)v; local 1346 radius_StartTimer(struct bundle *bundle) argument [all...] |
/freebsd-current/sys/ofed/drivers/infiniband/core/ |
H A D | ib_uverbs_ioctl.c | 65 * Must be last. bundle ends in a flex array which overlaps 68 struct uverbs_attr_bundle bundle; member in struct:bundle_priv 83 sizeof(*pbundle->bundle.attrs) * method_elm->key_bitmap_len + 95 * uverbs_alloc() - Quickly allocate memory for use with a bundle 96 * @bundle: The bundle 100 * The bundle allocator is intended for allocations that are connected with 101 * processing the system call related to the bundle. The allocated memory is 107 __malloc void *_uverbs_alloc(struct uverbs_attr_bundle *bundle, size_t size, argument 111 container_of(bundle, struc 150 uverbs_set_output(const struct uverbs_attr_bundle *bundle, const struct uverbs_attr *attr) argument 665 uverbs_fill_udata(struct uverbs_attr_bundle *bundle, struct ib_udata *udata, unsigned int attr_in, unsigned int attr_out) argument 698 uverbs_copy_to(const struct uverbs_attr_bundle *bundle, size_t idx, const void *from, size_t size) argument 720 uverbs_output_written(const struct uverbs_attr_bundle *bundle, size_t idx) argument 753 uverbs_copy_to_struct_or_zero(const struct uverbs_attr_bundle *bundle, size_t idx, const void *from, size_t size) argument [all...] |