/titanic_44/usr/src/uts/common/inet/udp/ |
H A D | udp_stats.c | 62 struct opthdr *optp; in udp_snmp_get() local 130 optp = (struct opthdr *)&mpctl->b_rptr[sizeof (struct T_optmgmt_ack)]; in udp_snmp_get() 131 optp->level = MIB2_UDP; in udp_snmp_get() 132 optp->name = 0; in udp_snmp_get() 134 optp->len = msgdsize(mpdata); in udp_snmp_get() 306 optp = (struct opthdr *)&mp_conn_ctl->b_rptr[ in udp_snmp_get() 308 optp->level = MIB2_UDP; in udp_snmp_get() 309 optp->name = MIB2_UDP_ENTRY; in udp_snmp_get() 310 optp->len = msgdsize(mp_conn_ctl->b_cont); in udp_snmp_get() 314 optp = (struct opthdr *)&mp_attr_ctl->b_rptr[ in udp_snmp_get() [all …]
|
/titanic_44/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_argvec.c | 247 const mdb_opt_t *optp; in argvec_findopt() local 249 for (optp = opts; optp->opt_char != 0; optp++) { in argvec_findopt() 250 if (optp->opt_char == c) in argvec_findopt() 251 return (optp); in argvec_findopt() 260 const mdb_opt_t *optp; in argvec_getopts() local 289 if ((optp = argvec_findopt(opts, *p)) == NULL) { in argvec_getopts() 299 if (optp->opt_type == MDB_OPT_STR || in argvec_getopts() 300 optp->opt_type == MDB_OPT_UINTPTR || in argvec_getopts() 301 optp->opt_type == MDB_OPT_UINTPTR_SET || in argvec_getopts() 302 optp->opt_type == MDB_OPT_SUBOPTS || in argvec_getopts() [all …]
|
/titanic_44/usr/src/uts/common/fs/cachefs/ |
H A D | cachefs_fscache.c | 218 struct cachefsoptions *optp, ino64_t backfileno, int setflags) in fscache_setup() argument 229 if ((namep == NULL) || (optp == NULL) || in fscache_setup() 240 fscp->fs_info.fi_mntflags = optp->opt_flags; in fscache_setup() 241 fscp->fs_info.fi_popsize = optp->opt_popsize; in fscache_setup() 242 fscp->fs_info.fi_fgsize = optp->opt_fgsize; in fscache_setup() 258 } else if (optp) { in fscache_setup() 260 error = fscache_compare_options(fscp, optp); in fscache_setup() 268 fscp->fs_info.fi_mntflags = optp->opt_flags; in fscache_setup() 269 fscp->fs_info.fi_popsize = optp->opt_popsize; in fscache_setup() 270 fscp->fs_info.fi_fgsize = optp->opt_fgsize; in fscache_setup() [all …]
|
/titanic_44/usr/src/uts/common/inet/sctp/ |
H A D | sctp_snmp.c | 540 struct opthdr *optp; in sctp_snmp_get_mib2() local 821 optp = (struct opthdr *)&mpctl->b_rptr[sizeof (struct T_optmgmt_ack)]; in sctp_snmp_get_mib2() 822 optp->level = MIB2_SCTP; in sctp_snmp_get_mib2() 823 optp->name = 0; in sctp_snmp_get_mib2() 825 optp->len = msgdsize(mpdata); in sctp_snmp_get_mib2() 829 optp = (struct opthdr *)&mp_conn_ctl->b_rptr[ in sctp_snmp_get_mib2() 831 optp->level = MIB2_SCTP; in sctp_snmp_get_mib2() 832 optp->name = MIB2_SCTP_CONN; in sctp_snmp_get_mib2() 833 optp->len = msgdsize(mp_conn_data); in sctp_snmp_get_mib2() 837 optp = (struct opthdr *)&mp_local_ctl->b_rptr[ in sctp_snmp_get_mib2() [all …]
|
/titanic_44/usr/src/uts/common/inet/tcp/ |
H A D | tcp_stats.c | 104 struct opthdr *optp; in tcp_snmp_get() local 376 optp = (struct opthdr *)&mpctl->b_rptr[sizeof (struct T_optmgmt_ack)]; in tcp_snmp_get() 377 optp->level = MIB2_TCP; in tcp_snmp_get() 378 optp->name = 0; in tcp_snmp_get() 380 optp->len = msgdsize(mpdata); in tcp_snmp_get() 384 optp = (struct opthdr *)&mp_conn_ctl->b_rptr[ in tcp_snmp_get() 386 optp->level = MIB2_TCP; in tcp_snmp_get() 387 optp->name = MIB2_TCP_CONN; in tcp_snmp_get() 388 optp->len = msgdsize(mp_conn_ctl->b_cont); in tcp_snmp_get() 392 optp = (struct opthdr *)&mp_attr_ctl->b_rptr[ in tcp_snmp_get() [all …]
|
H A D | tcp_tpi.c | 415 char *optp = NULL; in tcp_conn_con() local 435 optp = (char *)(mp->b_rptr + in tcp_conn_con() 450 (int)sizeof (sin_t), optp, optlen); in tcp_conn_con() 457 (int)sizeof (sin6_t), optp, optlen); in tcp_conn_con() 471 (int)sizeof (sin6_t), optp, optlen); in tcp_conn_con()
|
/titanic_44/usr/src/uts/common/inet/ip/ |
H A D | ip_dce.c | 851 struct opthdr *optp; in ip_snmp_get_mib2_ip_dce() local 868 optp = (struct opthdr *)&mpctl->b_rptr[ in ip_snmp_get_mib2_ip_dce() 870 optp->level = MIB2_IP; in ip_snmp_get_mib2_ip_dce() 871 optp->name = EXPER_IP_DCE; in ip_snmp_get_mib2_ip_dce() 896 optp->len = (t_uscalar_t)msgdsize(mpctl->b_cont); in ip_snmp_get_mib2_ip_dce() 898 (int)optp->level, (int)optp->name, (int)optp->len)); in ip_snmp_get_mib2_ip_dce() 910 optp = (struct opthdr *)&mpctl->b_rptr[ in ip_snmp_get_mib2_ip_dce() 912 optp->level = MIB2_IP6; in ip_snmp_get_mib2_ip_dce() 913 optp->name = EXPER_IP_DCE; in ip_snmp_get_mib2_ip_dce() 941 optp->len = (t_uscalar_t)msgdsize(mpctl->b_cont); in ip_snmp_get_mib2_ip_dce() [all …]
|
H A D | ip.c | 2329 ipoptp_first(ipoptp_t *optp, ipha_t *ipha) in ipoptp_first() argument 2336 optp->ipoptp_next = (uint8_t *)(&ipha[1]); in ipoptp_first() 2337 optp->ipoptp_end = optp->ipoptp_next + totallen; in ipoptp_first() 2338 optp->ipoptp_flags = 0; in ipoptp_first() 2339 return (ipoptp_next(optp)); in ipoptp_first() 2344 ipoptp_first2(ipoptp_t *optp, uint32_t totallen, uint8_t *opt) in ipoptp_first2() argument 2346 optp->ipoptp_next = opt; in ipoptp_first2() 2347 optp->ipoptp_end = optp->ipoptp_next + totallen; in ipoptp_first2() 2348 optp->ipoptp_flags = 0; in ipoptp_first2() 2349 return (ipoptp_next(optp)); in ipoptp_first2() [all …]
|
H A D | icmp.c | 2844 struct opthdr *optp; in icmp_snmp_get() local 2862 optp = (struct opthdr *)&mpctl->b_rptr[sizeof (struct T_optmgmt_ack)]; in icmp_snmp_get() 2863 optp->level = EXPER_RAWIP; in icmp_snmp_get() 2864 optp->name = 0; in icmp_snmp_get() 2867 optp->len = msgdsize(mpdata); in icmp_snmp_get()
|
/titanic_44/usr/src/cmd/pcidr/plugins/default/ |
H A D | pcidr_plugin.c | 48 PCIDR_PLUGIN_PROTO(attrlistp, optp) in PCIDR_PLUGIN_PROTO() argument 59 pcidr_set_logopt(&optp->logopt); in PCIDR_PLUGIN_PROTO()
|
/titanic_44/usr/src/uts/common/sys/fs/ |
H A D | cachefs_fscache.h | 203 struct cachefsoptions *optp, ino64_t backfileno); 205 struct cachefsoptions *optp, ino64_t backfileno);
|
/titanic_44/usr/src/cmd/pcidr/ |
H A D | pcidr.c | 469 do_plugin(char *path, nvlist_t *attrlistp, pcidr_opt_t *optp) in do_plugin() argument 503 rv = fp(attrlistp, optp); in do_plugin()
|
/titanic_44/usr/src/uts/common/inet/iptun/ |
H A D | iptun.c | 2515 struct ip6_opt *optp; in iptun_find_encaplimit() local 2528 optp = (struct ip6_opt *)(destp + 1); in iptun_find_encaplimit() 2529 while (endptr - (uint8_t *)optp > sizeof (*optp)) { in iptun_find_encaplimit() 2530 if (optp->ip6o_type == IP6OPT_TUNNEL_LIMIT) { in iptun_find_encaplimit() 2531 if ((uint8_t *)(optp + 1) >= endptr) in iptun_find_encaplimit() 2533 *encaplim_ptr = (uint8_t *)&optp[1]; in iptun_find_encaplimit() 2536 optp = (struct ip6_opt *)((uint8_t *)optp + optp->ip6o_len + 2); in iptun_find_encaplimit()
|
/titanic_44/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | net.c | 386 const char *optp = NULL; in sonode() local 404 'p', MDB_OPT_STR, &optp, in sonode() 432 if (optp != NULL) { in sonode() 433 proto = mdb_strtoull(optp); in sonode() 453 if ((optp != NULL) && (so.so_protocol != proto)) in sonode()
|
/titanic_44/usr/src/cmd/cmd-inet/usr.lib/in.mpathd/ |
H A D | mpd_main.c | 2858 struct opthdr *req, *optp; in mibwalk() local 2929 optp = (struct opthdr *)&toa[1]; in mibwalk() 2955 if (optp->len == 0 && optp->name == 0 && in mibwalk() 2956 optp->level == 0) { in mibwalk() 2979 last_item->mi_opthdr = *optp; in mibwalk() 2980 last_item->mi_valp = malloc(optp->len); in mibwalk()
|
/titanic_44/usr/src/cmd/cmd-inet/usr.lib/in.ndpd/ |
H A D | main.c | 154 add_opt_lla(struct phyint *pi, struct nd_opt_lla *optp) in add_opt_lla() argument 167 bzero(optp, optlen); in add_opt_lla() 168 optp->nd_opt_lla_type = ND_OPT_SOURCE_LINKADDR; in add_opt_lla() 169 optp->nd_opt_lla_len = optlen / 8; in add_opt_lla() 170 bcopy(lifr.lifr_nd.lnr_hdw_addr, optp->nd_opt_lla_hdw_addr, hwaddrlen); in add_opt_lla()
|
/titanic_44/usr/src/cmd/zoneadm/ |
H A D | zoneadm.c | 3201 zone_fsopt_t *optp; in print_fs_warnings() local 3211 for (optp = s_fstab->zone_fs_options; optp != NULL; in print_fs_warnings() 3212 optp = optp->zone_fsopt_next) { in print_fs_warnings() 3213 if (opt_match("rw", optp->zone_fsopt_opt)) { in print_fs_warnings() 3220 for (optp = t_fstab->zone_fs_options; optp != NULL; in print_fs_warnings() 3221 optp = optp->zone_fsopt_next) { in print_fs_warnings() 3222 if (opt_match("rw", optp->zone_fsopt_opt)) { in print_fs_warnings()
|
/titanic_44/usr/src/uts/common/inet/ |
H A D | optcom.c | 1909 uchar_t *optp; in optcom_pkt_set() local 1913 optp = *optbufp; in optcom_pkt_set() 1914 bcopy(invalp, optp, inlen); in optcom_pkt_set()
|
/titanic_44/usr/src/lib/libcfgadm/common/ |
H A D | config_admin.c | 993 char *bufp, *optp, *val = NULL; in parse_listopt() local 1011 optp = bufp; /* getsubopt() modifies its argument */ in parse_listopt() 1012 while (*optp != '\0') { in parse_listopt() 1013 switch (getsubopt(&optp, listopt_array, &val)) { in parse_listopt()
|