/titanic_50/usr/src/uts/common/inet/ |
H A D | snmpcom.c | 56 sizeof (struct opthdr)) 171 struct opthdr *req; in snmpcom_req() 172 struct opthdr *next_req; in snmpcom_req() 173 struct opthdr *req_end; in snmpcom_req() 174 struct opthdr *req_start; in snmpcom_req() 187 !(req_start = (struct opthdr *)mi_offset_param(mp, in snmpcom_req() 211 req_end = (struct opthdr *)((uchar_t *)req_start + in snmpcom_req() 215 (struct opthdr *)((uchar_t *)&req[1] + in snmpcom_req() 254 toa->OPT_length = sizeof (struct opthdr); in snmpcom_req() 292 toa->OPT_length = sizeof (struct opthdr); in snmpcom_req() [all …]
|
H A D | optcom.c | 191 struct opthdr *next_opt; in svr4_optcom_req() 192 struct opthdr *opt; in svr4_optcom_req() 193 struct opthdr *opt1; in svr4_optcom_req() 194 struct opthdr *opt_end; in svr4_optcom_req() 195 struct opthdr *opt_start; in svr4_optcom_req() 257 opt = (struct opthdr *)&toa[1]; in svr4_optcom_req() 311 opt = (struct opthdr *)((char *)&opt[1] + in svr4_optcom_req() 330 if ((opt_start = (struct opthdr *)mi_offset_param(mp, in svr4_optcom_req() 336 opt_end = (struct opthdr *)((uchar_t *)opt_start + in svr4_optcom_req() 344 if ((uchar_t *)opt + sizeof (struct opthdr) > in svr4_optcom_req() [all …]
|
/titanic_50/usr/src/lib/libnsl/rpc/ |
H A D | rpc_td.c | 60 struct opthdr *opt; in __td_setnodelay() 71 opt = (struct opthdr *)(t_optreq.opt.buf); in __td_setnodelay() 76 sizeof (struct opthdr)), &i, sizeof (int)); in __td_setnodelay() 77 t_optreq.opt.len = (int)(sizeof (struct opthdr) + in __td_setnodelay()
|
H A D | ti_opts.c | 126 struct opthdr *opth; in find_ucred_opt() 139 opth = (struct opthdr *)abuf->buf; in find_ucred_opt() 459 struct opthdr *topt; in __rpc_tli_set_options() 470 (buf + sizeof (struct opthdr)); in __rpc_tli_set_options() 480 (buf + sizeof (struct opthdr)); in __rpc_tli_set_options() 501 ip = (int *)(buf + sizeof (struct opthdr)); in __rpc_tli_set_options() 510 topt = (struct opthdr *)buf; in __rpc_tli_set_options() 515 oreq.opt.len = sizeof (struct opthdr) + optsz; in __rpc_tli_set_options()
|
H A D | svc_dg.c | 315 struct T_opthdr *opthdr; in set_src_addr() local 333 opthdr = (struct T_opthdr *)memalign(sizeof (int), in set_src_addr() 335 if (opthdr == NULL) in set_src_addr() 337 opthdr->len = sizeof (struct T_opthdr) + sizeof (in_pktinfo_t); in set_src_addr() 338 opthdr->level = IPPROTO_IP; in set_src_addr() 339 opthdr->name = IP_PKTINFO; in set_src_addr() 345 pktinfo = (in_pktinfo_t *)(opthdr + 1); in set_src_addr() 351 if (opthdr->len + opt->len <= opt->maxlen) { in set_src_addr() 352 (void) memcpy((void *)(opt->buf+opt->len), (const void *)opthdr, in set_src_addr() 353 opthdr->len); in set_src_addr() [all …]
|
H A D | clnt_vc.c | 393 struct opthdr *opt; in _set_tcp_conntime() 398 opt = (struct opthdr *)buf; in _set_tcp_conntime() 404 req.opt.len = sizeof (struct opthdr) + opt->len; in _set_tcp_conntime() 407 ip = (int *)((char *)buf + sizeof (struct opthdr)); in _set_tcp_conntime() 427 struct opthdr *opt; in _get_tcp_conntime() 432 opt = (struct opthdr *)buf; in _get_tcp_conntime() 438 req.opt.len = sizeof (struct opthdr) + opt->len; in _get_tcp_conntime() 441 ip = (int *)((char *)buf + sizeof (struct opthdr)); in _get_tcp_conntime() 452 ip = (int *)((char *)buf + sizeof (struct opthdr)); in _get_tcp_conntime()
|
H A D | svc_vc.c | 951 option = malloc(sizeof (struct opthdr) + sizeof (int)); in do_accept() 952 option_ret = malloc(sizeof (struct opthdr) + sizeof (int)); in do_accept() 954 struct opthdr *opt; in do_accept() 959 opt = (struct opthdr *)option; in do_accept() 966 sizeof (struct opthdr) + sizeof (int); in do_accept() 969 optret.opt.maxlen = sizeof (struct opthdr) in do_accept()
|
/titanic_50/usr/src/cmd/cvcd/sparc/sun4u/starfire/ |
H A D | cvcd.c | 134 struct opthdr *sockopt; 897 struct opthdr *sockopt; 910 topt->opt.buf = (char *)malloc(sizeof (struct opthdr) + sizeof (int)); 912 topt->opt.len = sizeof (struct opthdr) + sizeof (int); 914 sockopt = (struct opthdr *)topt->opt.buf; 918 (void) memcpy((char *)(topt->opt.buf + sizeof (struct opthdr)), 920 tropt->opt.buf = (char *)malloc(sizeof (struct opthdr) + sizeof (int)); 921 tropt->opt.maxlen = sizeof (struct opthdr) + sizeof (int);
|
/titanic_50/usr/src/uts/common/inet/udp/ |
H A D | udp_stats.c | 62 struct opthdr *optp; in udp_snmp_get() 130 optp = (struct opthdr *)&mpctl->b_rptr[sizeof (struct T_optmgmt_ack)]; in udp_snmp_get() 306 optp = (struct opthdr *)&mp_conn_ctl->b_rptr[ in udp_snmp_get() 314 optp = (struct opthdr *)&mp_attr_ctl->b_rptr[ in udp_snmp_get() 325 optp = (struct opthdr *)&mp6_conn_ctl->b_rptr[ in udp_snmp_get() 333 optp = (struct opthdr *)&mp6_attr_ctl->b_rptr[ in udp_snmp_get()
|
/titanic_50/usr/src/cmd/rpcsvc/rpc.bootparamd/ |
H A D | bootparam_ip_route.c | 82 struct opthdr *req; in mibget() 89 tor->OPT_length = sizeof (struct opthdr); in mibget() 91 req = (struct opthdr *)&tor[1]; in mibget() 109 req = (struct opthdr *)&toa[1]; in mibget()
|
/titanic_50/usr/src/uts/common/rpc/ |
H A D | svc_clts.c | 547 struct T_opthdr *opthdr; in svc_clts_ksend() local 570 opthdr = (struct T_opthdr *)(mp->b_rptr + udreq->OPT_offset); in svc_clts_ksend() 571 opthdr->len = udreq->OPT_length; in svc_clts_ksend() 572 opthdr->level = IPPROTO_IP; in svc_clts_ksend() 573 opthdr->name = IP_PKTINFO; in svc_clts_ksend() 580 pktinfo = (in_pktinfo_t *)(opthdr + 1); in svc_clts_ksend()
|
H A D | clnt_cots.c | 2865 struct opthdr *opt, *opt_res; in connmgr_getopt_int() 2872 sizeof (struct opthdr) + sizeof (int), cr, NOPID); in connmgr_getopt_int() 2880 tor->OPT_length = sizeof (struct opthdr) + sizeof (int); in connmgr_getopt_int() 2883 opt = (struct opthdr *)(mp->b_rptr + sizeof (struct T_optmgmt_req)); in connmgr_getopt_int() 2887 mp->b_wptr += sizeof (struct T_optmgmt_req) + sizeof (struct opthdr) + in connmgr_getopt_int() 2929 opt_res = (struct opthdr *)connmgr_opt_getoff(mp, opt_ack->OPT_offset, in connmgr_getopt_int() 2954 struct opthdr *opt; in connmgr_setopt_int() 2960 sizeof (struct opthdr) + sizeof (int), cr, NOPID); in connmgr_setopt_int() 2971 tor->OPT_length = sizeof (struct opthdr) + sizeof (int); in connmgr_setopt_int() 2974 opt = (struct opthdr *)(mp->b_rptr + sizeof (struct T_optmgmt_req)); in connmgr_setopt_int() [all …]
|
/titanic_50/usr/src/uts/common/sys/ |
H A D | tpicommon.h | 184 struct opthdr { struct
|
/titanic_50/usr/src/cmd/cmd-inet/usr.lib/inetd/ |
H A D | tlx.c | 262 struct opthdr sockopt; in tlx_setsockopt() 276 request.opt.len = sizeof (struct opthdr) + optlen; in tlx_setsockopt() 280 reply.opt.maxlen = sizeof (struct opthdr) + optlen; in tlx_setsockopt()
|
/titanic_50/usr/src/cmd/rpcbind/ |
H A D | rpcbind.c | 899 struct opthdr opt; in setopt_int() 941 struct opthdr *opt; in setup_callit() 945 opt = (struct opthdr *)reqbuf; in setup_callit() 957 pmreq = (struct ipv6_mreq *)&reqbuf[sizeof (struct opthdr)]; in setup_callit() 961 req.opt.len = sizeof (struct opthdr) + opt->len; in setup_callit()
|
/titanic_50/usr/src/uts/common/inet/sctp/ |
H A D | sctp_snmp.c | 540 struct opthdr *optp; in sctp_snmp_get_mib2() 821 optp = (struct opthdr *)&mpctl->b_rptr[sizeof (struct T_optmgmt_ack)]; in sctp_snmp_get_mib2() 829 optp = (struct opthdr *)&mp_conn_ctl->b_rptr[ in sctp_snmp_get_mib2() 837 optp = (struct opthdr *)&mp_local_ctl->b_rptr[ in sctp_snmp_get_mib2() 845 optp = (struct opthdr *)&mp_rem_ctl->b_rptr[ in sctp_snmp_get_mib2() 853 optp = (struct opthdr *)&mp_attr_ctl->b_rptr[ in sctp_snmp_get_mib2()
|
/titanic_50/usr/src/lib/libnsl/nss/ |
H A D | netdir_inet_sundry.c | 908 struct opthdr *opt; in bindresvport() 971 opt = (struct opthdr *)reqbuf; in bindresvport() 986 req.opt.len = sizeof (struct opthdr) + opt->len; in bindresvport() 989 optval = (int *)((char *)reqbuf + sizeof (struct opthdr)); in bindresvport()
|
/titanic_50/usr/src/uts/common/inet/tcp/ |
H A D | tcp_stats.c | 104 struct opthdr *optp; in tcp_snmp_get() 376 optp = (struct opthdr *)&mpctl->b_rptr[sizeof (struct T_optmgmt_ack)]; in tcp_snmp_get() 384 optp = (struct opthdr *)&mp_conn_ctl->b_rptr[ in tcp_snmp_get() 392 optp = (struct opthdr *)&mp_attr_ctl->b_rptr[ in tcp_snmp_get() 403 optp = (struct opthdr *)&mp6_conn_ctl->b_rptr[ in tcp_snmp_get() 411 optp = (struct opthdr *)&mp6_attr_ctl->b_rptr[ in tcp_snmp_get()
|
/titanic_50/usr/src/cmd/avs/rdc/ |
H A D | sndrd.c | 684 struct opthdr *opt; in reuseaddr() 689 opt = (struct opthdr *)reqbuf; in reuseaddr() 695 ip = (int *)&reqbuf[sizeof (struct opthdr)]; in reuseaddr() 699 req.opt.len = sizeof (struct opthdr) + opt->len; in reuseaddr() 1688 struct opthdr *opt; in rdcd_bindit() 1769 opt = (struct opthdr *)reqbuf; in rdcd_bindit()
|
/titanic_50/usr/src/cmd/cmd-inet/usr.lib/ncaconfd/ |
H A D | ncaconfd.c | 562 struct opthdr *req; in mibget() 569 tor->OPT_length = sizeof (struct opthdr); in mibget() 571 req = (struct opthdr *)&tor[1]; in mibget() 590 req = (struct opthdr *)&toa[1]; in mibget()
|
/titanic_50/usr/src/cmd/krb5/kadmin/server/ |
H A D | ovsec_kadmd.c | 432 struct opthdr *opt; in main() 714 opt = (struct opthdr *) reqbuf; in main() 725 reqbuf[sizeof (struct opthdr)] = 1; in main() 728 req.opt.len = sizeof (struct opthdr) + opt->len; in main()
|
/titanic_50/usr/src/cmd/rpcsvc/ |
H A D | rstat_proc.c | 451 struct opthdr *req; in mibget() 458 tor->OPT_length = sizeof (struct opthdr); in mibget() 460 req = (struct opthdr *)&tor[1]; in mibget() 478 req = (struct opthdr *)&toa[1]; in mibget()
|
/titanic_50/usr/src/uts/common/inet/ip/ |
H A D | ip_dce.c | 851 struct opthdr *optp; in ip_snmp_get_mib2_ip_dce() 868 optp = (struct opthdr *)&mpctl->b_rptr[ in ip_snmp_get_mib2_ip_dce() 910 optp = (struct opthdr *)&mpctl->b_rptr[ in ip_snmp_get_mib2_ip_dce()
|
/titanic_50/usr/src/cmd/fs.d/nfs/lib/ |
H A D | nfs_tbind.c | 290 struct opthdr *opt; in nfslib_bindit() 422 opt = (struct opthdr *)reqbuf; in nfslib_bindit() 455 struct opthdr opt; in get_opt() 484 struct opthdr opt; in setopt()
|
/titanic_50/usr/src/cmd/cmd-inet/usr.lib/in.mpathd/ |
H A D | mpd_main.c | 43 struct opthdr mi_opthdr; 2858 struct opthdr *req, *optp; in mibwalk() 2870 tor->OPT_length = sizeof (struct opthdr); in mibwalk() 2877 req = (struct opthdr *)&tor[1]; in mibwalk() 2929 optp = (struct opthdr *)&toa[1]; in mibwalk() 2931 sizeof (struct opthdr))) { in mibwalk()
|