/freebsd/usr.sbin/ppp/ |
H A D | vjcomp.c | 73 vj_LayerPush(struct bundle *bundle, struct link *l __unused, struct mbuf *bp, in vj_LayerPush() argument 78 u_short cproto = bundle->ncp.ipcp.peer_compproto >> 16; in vj_LayerPush() 84 type = sl_compress_tcp(bp, pip, &bundle->ncp.ipcp.vj.cslc, in vj_LayerPush() 85 &bundle->ncp.ipcp.vj.slstat, in vj_LayerPush() 86 bundle->ncp.ipcp.peer_compproto & 0xff); in vj_LayerPush() 165 vj_LayerPull(struct bundle *bundle, struct link *l __unused, struct mbuf *bp, in vj_LayerPull() argument 184 return VjUncompressTcp(&bundle->ncp.ipcp, bp, type); in vj_LayerPull()
|
H A D | ip.h | 34 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 D | mp.c | 240 mp_Init(struct mp *mp, struct bundle *bundle) in mp_Init() argument 253 mp->bundle = bundle; in mp_Init() 612 mp_Input(struct bundle *bundle, struct link *l, struct mbuf *bp) in mp_Input() argument 616 if (!bundle->ncp.mp.active) in mp_Input() 632 mp_Output(struct mp *mp, struct bundle *bundle, struct link *l, in mp_Output() argument 666 mp_FillPhysicalQueues(struct bundle *bundle) in mp_FillPhysicalQueues() argument 691 fdl = bundle->links; in mp_FillPhysicalQueues() 700 dl = bundle->links; in mp_FillPhysicalQueues() 790 dl = bundle->links; in mp_FillPhysicalQueues() 1078 mpserver_Read(struct fdescriptor *d, struct bundle *bundle, in mpserver_Read() argument [all …]
|
H A D | radius.c | 251 struct bundle *bundle; in radius_Process() local 401 bundle = r->cx.auth->physical->dl->bundle; in radius_Process() 486 bundle = r->cx.auth->physical->dl->bundle; in radius_Process() 685 radius_Read(struct fdescriptor *d, struct bundle *bundle __unused, in radius_Read() 745 radius_Write(struct fdescriptor *d __unused, struct bundle *bundle __unused, in radius_Write() 1334 struct bundle *bundle = (struct bundle *)v; in radius_alive() local 1339 radius_Account(&bundle->radius, &bundle->radacct, in radius_alive() 1340 bundle->links, RAD_ALIVE, &bundle->ncp.ipcp.throughput); in radius_alive() 1346 radius_StartTimer(struct bundle *bundle) in radius_StartTimer() argument 1348 if (*bundle->radius.cfg.file && bundle->radius.alive.interval) { in radius_StartTimer() [all …]
|
H A D | ip.c | 558 PacketCheck(struct bundle *bundle, u_int32_t family, in PacketCheck() argument 910 ip_Input(struct bundle *bundle, struct link *l, struct mbuf *bp, u_int32_t af) in ip_Input() argument 928 if (PacketCheck(bundle, af, tun.data, nb, &bundle->filter.in, in ip_Input() 936 bundle_StartIdleTimer(bundle, secs); in ip_Input() 939 if (bundle->dev.header) { in ip_Input() 946 nw = write(bundle->dev.fd, data, nb); in ip_Input() 960 ipv4_Input(struct bundle *bundle, struct link *l, struct mbuf *bp) in ipv4_Input() argument 972 nb = ip_Input(bundle, l, bp, AF_INET); in ipv4_Input() 973 ipcp_AddInOctets(&bundle->ncp.ipcp, nb); in ipv4_Input() 980 ipv6_Input(struct bundle *bundle, struct link *l, struct mbuf *bp) in ipv6_Input() argument [all …]
|
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.c | 161 if (!dl->bundle->CleaningUp && in datalink_HangupDone() 262 !dl->bundle->CleaningUp) in datalink_UpdateSet() 448 datalink_Read(struct fdescriptor *d, struct bundle *bundle, const fd_set *fdset) in datalink_Read() argument 478 datalink_Write(struct fdescriptor *d, struct bundle *bundle, in datalink_Write() argument 792 datalink_Create(const char *name, struct bundle *bundle, int type) in datalink_Create() argument 822 dl->bundle = bundle; in datalink_Create() 845 dl->parent = &bundle->fsm; in datalink_Create() 894 dl->bundle = odl->bundle; in datalink_Clone() 1292 iov2datalink(struct bundle *bundle, struct iovec *iov, int *niov, int maxiov, in iov2datalink() argument 1346 dl->bundle = bundle; in iov2datalink() [all …]
|
H A D | mp.h | 31 struct bundle; 109 struct bundle *bundle; /* Parent */ member 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 | prompt.c | 104 if (p->bundle->ncp.ipcp.fsm.state == ST_OPENED) in prompt_Display() 107 else if (!Enabled(p->bundle, OPT_IPCP) && in prompt_Display() 108 p->bundle->ncp.ipv6cp.fsm.state == ST_OPENED) in prompt_Display() 111 else if (bundle_Phase(p->bundle) == PHASE_NETWORK) in prompt_Display() 113 else if (bundle_Phase(p->bundle) == PHASE_AUTHENTICATE) in prompt_Display() 183 prompt_Read(struct fdescriptor *d, struct bundle *bundle, in prompt_Read() argument 204 if (!command_Decode(bundle, linebuff, n, p, p->src.from)) in prompt_Read() 284 arg.bundle = bundle; in prompt_Read() 305 prompt_Write(struct fdescriptor *d __unused, struct bundle *bundle __unused, in prompt_Write() 314 prompt_Create(struct server *s, struct bundle *bundle, int fd) in prompt_Create() argument [all …]
|
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 | datalink.h | 52 struct bundle; 121 struct bundle *bundle; /* for the moment */ member 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 | arp.h | 32 struct bundle; 34 extern int arp_ClearProxy(struct bundle *, struct in_addr); 35 extern int arp_SetProxy(struct bundle *, struct in_addr);
|
H A D | prompt.h | 37 struct bundle; 47 struct bundle *bundle; /* who I'm controlling */ member 69 extern struct prompt *prompt_Create(struct server *, struct bundle *, int);
|
H A D | systems.h | 33 struct bundle; 36 extern int system_Select(struct bundle *bundle, const char *, const char *,
|
H A D | layer.h | 43 struct bundle; 48 struct mbuf *(*push)(struct bundle *, struct link *, struct mbuf *, 50 struct mbuf *(*pull)(struct bundle *, struct link *, struct mbuf *,
|
H A D | filter.c | 417 filter = &arg->bundle->filter.in; in filter_Set() 419 filter = &arg->bundle->filter.out; in filter_Set() 421 filter = &arg->bundle->filter.dial; in filter_Set() 423 filter = &arg->bundle->filter.alive; in filter_Set() 508 filter = &arg->bundle->filter.in; in filter_Show() 510 filter = &arg->bundle->filter.out; in filter_Show() 512 filter = &arg->bundle->filter.dial; in filter_Show() 514 filter = &arg->bundle->filter.alive; in filter_Show() 522 filter[0] = &arg->bundle->filter.in; in filter_Show() 523 filter[1] = &arg->bundle->filter.out; in filter_Show() [all …]
|
H A D | pred.c | 154 Pred1InitInput(struct bundle *bundle __unused, struct fsm_opt *o __unused) in Pred1InitInput() 164 Pred1InitOutput(struct bundle *bundle __unused, struct fsm_opt *o __unused) in Pred1InitOutput() 305 Pred1InitOptsOutput(struct bundle *bundle __unused, struct fsm_opt *o, in Pred1InitOptsOutput() 312 Pred1SetOpts(struct bundle *bundle __unused, struct fsm_opt *o, in Pred1SetOpts()
|
H A D | descriptor.h | 39 struct bundle; 46 void (*Read)(struct fdescriptor *, struct bundle *, const fd_set *); 47 int (*Write)(struct fdescriptor *, struct bundle *, const fd_set *);
|
H A D | auth.h | 32 struct bundle; 63 extern int auth_Validate(struct bundle *, const char *, const char *); 66 extern int auth_Select(struct bundle *, const char *);
|
H A D | sync.c | 52 sync_LayerPush(struct bundle *bundle __unused, struct link *l __unused, in sync_LayerPush() 62 sync_LayerPull(struct bundle *b __unused, struct link *l, struct mbuf *bp, in sync_LayerPull()
|
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 *);
|
/freebsd/sys/dev/qat/qat_common/ |
H A D | adf_cfg_bundle.h | 29 bool adf_cfg_is_free(struct adf_cfg_bundle *bundle); 31 int adf_cfg_get_ring_pairs_from_bundle(struct adf_cfg_bundle *bundle, 38 struct adf_cfg_bundle *bundle, 42 int adf_cfg_bundle_init(struct adf_cfg_bundle *bundle, 47 void adf_cfg_bundle_clear(struct adf_cfg_bundle *bundle, 51 struct adf_cfg_bundle *bundle, 54 int adf_cfg_rel_ring2serv_mapping(struct adf_cfg_bundle *bundle);
|
H A D | adf_cfg_instance.h | 11 struct adf_cfg_bundle *bundle); 13 struct adf_cfg_bundle *bundle); 15 struct adf_cfg_bundle *bundle); 17 struct adf_cfg_bundle *bundle);
|
H A D | adf_hw_arbiter.c | 117 adf_update_uio_ring_arb(struct adf_uio_control_bundle *bundle) in adf_update_uio_ring_arb() argument 121 struct adf_accel_dev *accel_dev = bundle->uio_priv.accel->accel_dev; in adf_update_uio_ring_arb() 128 arben_tx = bundle->rings_enabled & arb_mask; in adf_update_uio_ring_arb() 129 arben_rx = (bundle->rings_enabled >> shift) & arb_mask; in adf_update_uio_ring_arb() 131 csr_ops->write_csr_ring_srv_arb_en(bundle->csr_addr, in adf_update_uio_ring_arb() 132 bundle->hardware_bundle_number, in adf_update_uio_ring_arb()
|
/freebsd/sys/ofed/drivers/infiniband/core/ |
H A D | ib_uverbs_main.c | 564 struct uverbs_attr_bundle bundle; in ib_uverbs_write() local 599 memset(bundle.attr_present, 0, sizeof(bundle.attr_present)); in ib_uverbs_write() 600 bundle.ufile = file; in ib_uverbs_write() 608 bundle.driver_udata.inlen = in ib_uverbs_write() 611 if (bundle.driver_udata.inlen) in ib_uverbs_write() 616 memset(&bundle.driver_udata, 0, in ib_uverbs_write() 631 bundle.driver_udata.outlen = in ib_uverbs_write() 634 if (bundle.driver_udata.outlen) in ib_uverbs_write() 635 bundle.driver_udata.outbuf = in ib_uverbs_write() 642 bundle.driver_udata.outlen = 0; in ib_uverbs_write() [all …]
|