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

12345

/freebsd-current/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
685 bundle_UnlockTun(struct bundle *bundle) argument
696 static struct bundle bundle; /* there can be only one */ local
898 bundle_DownInterface(struct bundle *bundle) argument
905 bundle_Destroy(struct bundle *bundle) argument
943 bundle_LinkClosed(struct bundle *bundle, struct datalink *dl) argument
979 bundle_Open(struct bundle *bundle, const char *name, int mask, int force) argument
1004 bundle2datalink(struct bundle *bundle, const char *name) argument
1053 optval(struct bundle *bundle, int opt) argument
1156 struct bundle *bundle = (struct bundle *)v; local
1168 bundle_StartIdleTimer(struct bundle *bundle, unsigned secs) argument
1197 bundle_SetIdleTimer(struct bundle *bundle, unsigned timeout, unsigned min_timeout) argument
1207 bundle_StopIdleTimer(struct bundle *bundle) argument
1214 bundle_RemainingIdleTime(struct bundle *bundle) argument
1226 struct bundle *bundle = (struct bundle *)v; local
1234 bundle_StartSessionTimer(struct bundle *bundle, unsigned secs) argument
1254 bundle_StopSessionTimer(struct bundle *bundle) argument
1263 bundle_IsDead(struct bundle *bundle) argument
1269 bundle_DatalinkLinkout(struct bundle *bundle, struct datalink *dl) argument
1285 bundle_DatalinkLinkin(struct bundle *bundle, struct datalink *dl) argument
1300 bundle_CleanDatalinks(struct bundle *bundle) argument
1319 bundle_DatalinkClone(struct bundle *bundle, struct datalink *dl, const char *name) argument
1332 bundle_DatalinkRemove(struct bundle *bundle, struct datalink *dl) argument
1340 bundle_SetLabel(struct bundle *bundle, const char *label) argument
1349 bundle_GetLabel(struct bundle *bundle) argument
1375 bundle_ReceiveDatalink(struct bundle *bundle, int s) argument
1665 bundle_RenameDatalink(struct bundle *bundle, struct datalink *ndl, const char *name) argument
1682 bundle_SetMode(struct bundle *bundle, struct datalink *dl, int mode) argument
1713 bundle_setsid(struct bundle *bundle, int holdsession) argument
1830 bundle_HighestState(struct bundle *bundle) argument
1843 bundle_Exception(struct bundle *bundle, int fd) argument
1857 bundle_AdjustFilters(struct bundle *bundle, struct ncpaddr *local, struct ncpaddr *remote) argument
1867 bundle_AdjustDNS(struct bundle *bundle) argument
1878 bundle_CalculateBandwidth(struct bundle *bundle) argument
1937 bundle_AutoAdjust(struct bundle *bundle, int percent, int what) argument
1979 bundle_WantAutoloadTimer(struct bundle *bundle) argument
2002 bundle_ChangedPID(struct bundle *bundle) argument
2010 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 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 *);
/freebsd-current/sys/dev/qat/qat_common/
H A Dadf_cfg_instance.c7 struct adf_cfg_bundle *bundle)
12 for (i = 0; i < bundle->num_of_rings / 2; i++) {
13 if ((bundle->in_use >> bundle->rings[i]->number) & 0x1)
16 if (bundle->rings[i]->serv_type == ADF_ACCEL_SERV_ASYM &&
17 bundle->rings[i]->mode == TX) {
18 instance->asym_tx = bundle->rings[i]->number;
19 bundle->in_use |= 1 << bundle->rings[i]->number;
24 for (i = 0; i < bundle
6 crypto_instance_init(struct adf_cfg_instance *instance, struct adf_cfg_bundle *bundle) argument
62 dc_instance_init(struct adf_cfg_instance *instance, struct adf_cfg_bundle *bundle) argument
94 asym_instance_init(struct adf_cfg_instance *instance, struct adf_cfg_bundle *bundle) argument
126 sym_instance_init(struct adf_cfg_instance *instance, struct adf_cfg_bundle *bundle) argument
[all...]
H A Dadf_cfg_bundle.c9 adf_cfg_is_interrupt_mode(struct adf_cfg_bundle *bundle) argument
11 return (bundle->polling_mode == ADF_CFG_RESP_EPOLL) ||
12 (bundle->type == KERNEL &&
13 (bundle->polling_mode != ADF_CFG_RESP_POLL));
17 adf_cfg_can_be_shared(struct adf_cfg_bundle *bundle, argument
21 if (adf_cfg_is_free(bundle))
24 if (bundle->polling_mode != polling_mode)
27 return !adf_cfg_is_interrupt_mode(bundle) ||
29 bundle->sections[0],
34 adf_cfg_is_free(struct adf_cfg_bundle *bundle) argument
40 adf_cfg_get_free_instance(struct adf_cfg_device *device, struct adf_cfg_bundle *bundle, struct adf_cfg_instance *inst, const char *process_name) argument
74 adf_cfg_get_ring_pairs_from_bundle(struct adf_cfg_bundle *bundle, struct adf_cfg_instance *inst, const char *process_name, struct adf_cfg_instance *bundle_inst) argument
152 adf_cfg_init_and_insert_inst(struct adf_cfg_bundle *bundle, struct adf_cfg_device *device, int bank_num, struct adf_accel_dev *accel_dev) argument
221 adf_cfg_bundle_init(struct adf_cfg_bundle *bundle, struct adf_cfg_device *device, int bank_num, struct adf_accel_dev *accel_dev) argument
252 adf_cfg_bundle_clear(struct adf_cfg_bundle *bundle, struct adf_accel_dev *accel_dev) argument
271 adf_cfg_assign_serv_to_rings(struct adf_hw_device_data *hw_data, struct adf_cfg_bundle *bundle, struct adf_cfg_device *device) argument
348 adf_cfg_init_ring2serv_mapping(struct adf_accel_dev *accel_dev, struct adf_cfg_bundle *bundle, struct adf_cfg_device *device) argument
383 adf_cfg_rel_ring2serv_mapping(struct adf_cfg_bundle *bundle) argument
[all...]
H A Dadf_cfg_instance.h11 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 Dadf_ctl_drv.c225 struct adf_uio_control_bundle *bundle = NULL; local
253 bundle = &accel->bundle[reserve.bank_nr];
255 return bundle;
261 struct adf_uio_control_bundle *bundle; local
267 bundle = adf_ctl_ioctl_bundle(reserve);
268 if (!bundle) {
269 pr_err("QAT: Failed to get bundle\n");
273 mutex_lock(&bundle->lock);
274 if (bundle
308 struct adf_uio_control_bundle *bundle; local
354 struct adf_uio_control_bundle *bundle; local
375 struct adf_uio_control_bundle *bundle; local
[all...]
H A Dadf_cfg_bundle.h29 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 Dadf_freebsd_uio.c47 int bundle; member in struct:adf_uio_open_bundle
57 struct adf_uio_control_bundle *bundle = NULL; local
63 bundle = &accel->bundle[handle->bundle];
65 mutex_lock(&bundle->lock);
66 adf_uio_do_cleanup_orphan(bundle->hardware_bundle_number, accel);
67 mutex_unlock(&bundle->lock);
84 mutex_lock(&bundle->list_lock);
85 list_for_each_entry_safe(instance_rings, tmp, &bundle
269 struct adf_uio_control_bundle *bundle = NULL; local
317 struct adf_uio_control_bundle *bundle; local
352 struct adf_uio_control_bundle *bundle; local
426 struct adf_uio_control_bundle *bundle; local
[all...]
H A Dadf_freebsd_uio_cleanup.c47 struct adf_uio_control_bundle *bundle; member in struct:bundle_orphan_ring
121 struct adf_uio_control_bundle *bundle; local
139 bundle = &accel->bundle[bank];
140 orphan_bundle->bundle = bundle;
141 mutex_lock(&bundle->list_lock);
142 list_for_each(entry, &bundle->list)
151 mutex_unlock(&bundle->list_lock);
178 put_orphan_bundle(struct bundle_orphan_ring *bundle) argument
219 is_all_resp_recvd(struct adf_hw_csr_ops *csr_ops, struct bundle_orphan_ring *bundle, const u8 num_rings_per_bank) argument
328 struct adf_uio_control_bundle *bundle; local
[all...]
/freebsd-current/sys/dev/qat/include/common/
H A Dadf_uio.h9 struct adf_uio_control_bundle *bundle; member in struct:qat_uio_bundle_dev

Completed in 220 milliseconds

12345