/freebsd-11-stable/usr.sbin/bluetooth/btpand/ |
H A D | server.c | 97 uint16_t mru; local 118 mru = BNEP_MTU_MIN; 120 SO_L2CAP_IMTU, &mru, sizeof(mru)) == -1) { 121 log_err("Could not set L2CAP IMTU (%d): %m", mru); 160 uint16_t mru, mtu; local 174 len = sizeof(mru); 175 if (getsockopt(fd, SOL_L2CAP, SO_L2CAP_IMTU, &mru, &len) == -1) { 180 if(mru < BNEP_MTU_MIN) { 181 log_err("L2CAP IMTU too small (%d)", mru); [all...] |
H A D | client.c | 54 uint16_t mru, mtu; local 80 mru = BNEP_MTU_MIN; 81 if (setsockopt(fd, SOL_L2CAP, SO_L2CAP_IMTU, &mru, sizeof(mru)) == -1) { 82 log_err("Could not set L2CAP IMTU (%d): %m", mru); 96 len = sizeof(mru); 97 if (getsockopt(fd, SOL_L2CAP, SO_L2CAP_IMTU, &mru, &len) == -1) { 101 if (mru < BNEP_MTU_MIN) { 102 log_err("L2CAP IMTU too small (%d)", mru); 111 if (n < (mru * 1 [all...] |
H A D | packet.c | 43 pkt = malloc(sizeof(packet_t) + chan->mru);
|
H A D | tap.c | 114 chan->mru = ETHER_HDR_LEN + ETHER_MAX_LEN;
|
H A D | btpand.h | 89 size_t mru; member in struct:channel
|
H A D | channel.c | 214 nr = read(fd, pkt->buf, chan->mru);
|
/freebsd-11-stable/contrib/ntp/ntpd/ |
H A D | ntp_monitor.c | 65 mon_entry mon_mru_list; /* mru listhead */ 72 u_int mru_alloc; /* mru list + free list count */ 73 u_int mru_entries; /* mru list count */ 116 INIT_DLIST(mon_mru_list, mru); 166 UNLINK_DLIST(m, mru); 257 ITER_DLIST_BEGIN(mon_mru_list, mon, mru, mon_entry) 263 INIT_DLIST(mon_mru_list, mru); 269 * mon_clearinterface -- remove mru entries referring to a local address 280 ITER_DLIST_BEGIN(mon_mru_list, mon, mru, mon_entry) 282 /* remove from mru lis [all...] |
H A D | ntp_control.c | 4176 mon = PREV_DLIST(mon_mru_list, mon, mru); 4178 mon = TAIL_DLIST(mon_mru_list, mru); 4190 mon = PREV_DLIST(mon_mru_list, mon, mru)) {
|
/freebsd-11-stable/usr.sbin/ppp/ |
H A D | lcp.c | 185 if (lcp->cfg.mru) 187 lcp->cfg.mru, lcp->cfg.max_mru); 260 lcp->cfg.mru = 0; 305 if ((lcp->want_mru = lcp->cfg.mru) == 0) 669 u_short mru, phmtu, maxmtu, maxmru, wantmtu, wantmru, proto; local 689 ua_ntohs(opt->data, &mru); 690 log_Printf(LogLCP, "%s %u\n", request, mru); 699 if (mru > MAX_MRU) { 706 } else if (mru < MIN_MRU) { 714 lcp->his_mrru = mru; [all...] |
H A D | lcp.h | 87 u_short mru; /* Preferred MRU value */ member in struct:lcp::__anon8871
|
H A D | command.c | 1894 change = &l->lcp.cfg.mru; 1935 if (l->lcp.cfg.mru > *change) 1936 l->lcp.cfg.mru = *change; 2430 {"mru", NULL, SetVariable, LOCAL_AUTH | LOCAL_CX, 2431 "MRU value", "set mru [max[imum]] [value]", (const void *)VAR_MRU},
|
/freebsd-11-stable/sys/netgraph/ |
H A D | ng_ppp.h | 127 u_int16_t mru; /* peer MRU */ member in struct:ng_ppp_link_conf 137 { "mru", &ng_parse_uint16_type }, \
|
H A D | ng_ppp.c | 1323 uint16_t mru; local 1342 mru = link->conf.mru; 1343 if (mru != 0 && m->m_pkthdr.len > mru) { 2075 frags += (distrib[activeLinkNum] + link->conf.mru - hdr_len - 1) / 2076 (link->conf.mru - hdr_len); 2104 if (len > link->conf.mru - hdr_len) 2105 len = link->conf.mru - hdr_len; 2578 if (newConf->links[i].mru < MP_MIN_LINK_MR [all...] |
/freebsd-11-stable/contrib/ntp/ntpq/ |
H A D | ntpq-subs.c | 291 typedef struct mru_tag mru; typedef in typeref:struct:mru_tag 293 mru * hlink; /* next in hash table bucket */ 294 DECL_DLIST_LINK(mru, mlink); 347 static mru * add_mru(mru *); 371 static mru mru_list; /* listhead */ 372 static mru ** hash_table; 2456 * add_mru Add and entry to mru list, hash table, and allocate 2460 static mru * 2462 mru *ad [all...] |
/freebsd-11-stable/sys/net/ |
H A D | if_sppp.h | 31 u_long mru; /* our max receive unit */ member in struct:slcp
|
H A D | if_tun.c | 941 uint32_t family, mru; local 953 mru = TUNMRU; 955 mru += sizeof(family); 956 if (uio->uio_resid < 0 || uio->uio_resid > mru) {
|
H A D | if_spppsubr.c | 2141 sp->lcp.mru = sp->lcp.their_mru = PP_MTU; 2160 sp->lcp.mru = sp->lcp.their_mru = PP_MTU; 2593 u_int mru = p[2] * 256 + p[3]; local 2595 log(-1, "%d ", mru); 2596 if (mru < PP_MTU || mru > PP_MAX_MRU) 2597 mru = PP_MTU; 2598 sp->lcp.mru = mru; 2753 char opt[6 /* magicnum */ + 4 /* mru */ [all...] |
/freebsd-11-stable/sys/dev/bnxt/ |
H A D | bnxt.h | 431 uint16_t mru; member in struct:bnxt_vnic_info
|
H A D | bnxt_hwrm.c | 655 req.mru = htole16(vnic->mru);
|
H A D | hsi_struct_def.h | 6662 uint16_t mru; member in struct:hwrm_func_qcfg_output 7150 /* This bit must be '1' for the mru field to be configured. */ 7208 uint16_t mru; member in struct:hwrm_func_cfg_input 7211 * that the mru of the function does not exceed the mru of the physical 7213 * configuring mru per function, it is possible to configure mru per 7214 * vnic. By default, the mru of each vnic associated with a function is 7215 * equal to the mru of the function. The HWRM should make sure that the 7216 * mru o 9750 uint16_t mru; member in struct:hwrm_port_mac_cfg_output 9843 uint16_t mru; member in struct:hwrm_port_mac_qcfg_output 14837 uint16_t mru; member in struct:hwrm_vnic_cfg_input 14958 uint16_t mru; member in struct:hwrm_vnic_qcfg_output 15071 uint16_t mru; member in struct:hwrm_vnic_qcaps_output [all...] |
H A D | if_bnxt.c | 1104 softc->vnic_info.mru = softc->scctx->isc_max_frame_size;
|
/freebsd-11-stable/contrib/ntp/include/ |
H A D | ntp.h | 784 DECL_DLIST_LINK(mon_entry, mru);/* MRU list link pointers */
|