/titanic_44/usr/src/uts/common/inet/ip/ |
H A D | ipsecesp.c | 741 esp_fix_natt_checksums(mblk_t *data_mp, ipsa_t *assoc) in esp_fix_natt_checksums() argument 743 ipha_t *ipha = (ipha_t *)data_mp->b_rptr; in esp_fix_natt_checksums() 751 tcpha = (tcpha_t *)(data_mp->b_rptr + in esp_fix_natt_checksums() 761 udpha = (udpha_t *)(data_mp->b_rptr + IPH_HDR_LENGTH(ipha)); in esp_fix_natt_checksums() 781 return (data_mp); in esp_fix_natt_checksums() 790 esp_strip_header(mblk_t *data_mp, boolean_t isv4, uint32_t ivlen, in esp_strip_header() argument 809 ASSERT((data_mp->b_wptr - data_mp->b_rptr) >= sizeof (ipha_t)); in esp_strip_header() 810 ipha = (ipha_t *)data_mp->b_rptr; in esp_strip_header() 811 ASSERT((data_mp->b_wptr - data_mp->b_rptr) >= sizeof (esph_t) + in esp_strip_header() 815 ASSERT((data_mp->b_wptr - data_mp->b_rptr) >= sizeof (ip6_t)); in esp_strip_header() [all …]
|
H A D | ip_sadb.c | 568 ipsec_outbound_sa(mblk_t *data_mp, ip_xmit_attr_t *ixa, uint_t proto) in ipsec_outbound_sa() argument 603 ipha_t *ipha = (ipha_t *)data_mp->b_rptr; in ipsec_outbound_sa() 619 ip6_t *ip6h = (ip6_t *)data_mp->b_rptr; in ipsec_outbound_sa() 622 dst6 = ip_get_dst_v6(ip6h, data_mp, NULL); in ipsec_outbound_sa() 786 ipsec_inbound_esp_sa(mblk_t *data_mp, ip_recv_attr_t *ira, esph_t **esphp) in ipsec_inbound_esp_sa() argument 807 ip6h = (ip6_t *)data_mp->b_rptr; in ipsec_inbound_esp_sa() 809 ipha = (ipha_t *)data_mp->b_rptr; in ipsec_inbound_esp_sa() 822 if (data_mp->b_datap->db_ref > 1 || in ipsec_inbound_esp_sa() 823 (data_mp->b_wptr - data_mp->b_rptr) < ira->ira_pktlen) { in ipsec_inbound_esp_sa() 824 placeholder = msgpullup(data_mp, -1); in ipsec_inbound_esp_sa() [all …]
|
H A D | ipsecah.c | 960 mblk_t *data_mp; in ah_add_sa_finish() local 975 data_mp = asyncmp->b_cont; in ah_add_sa_finish() 979 ip_drop_packet(data_mp, B_FALSE, NULL, in ah_add_sa_finish() 985 ip_drop_packet(data_mp, B_FALSE, ill, in ah_add_sa_finish() 990 ah_outbound_finish(data_mp, &ixas); in ah_add_sa_finish() 1004 ah_outbound_finish(mblk_t *data_mp, ip_xmit_attr_t *ixa) in ah_outbound_finish() argument 1011 if (!ipsec_outbound_sa(data_mp, ixa, IPPROTO_AH)) { in ah_outbound_finish() 1013 ip_drop_packet(data_mp, B_FALSE, ill, in ah_outbound_finish() 1020 data_mp = ah_outbound(data_mp, ixa); in ah_outbound_finish() 1021 if (data_mp == NULL) in ah_outbound_finish() [all …]
|
H A D | spd.c | 1498 ipsec_check_loopback_policy(mblk_t *data_mp, ip_recv_attr_t *ira, in ipsec_check_loopback_policy() argument 1502 return (data_mp); in ipsec_check_loopback_policy() 1514 return (data_mp); in ipsec_check_loopback_policy() 1761 conn_to_unique(conn_t *connp, mblk_t *data_mp, ipha_t *ipha, ip6_t *ip6h) in conn_to_unique() argument 1771 if (ipsec_init_inbound_sel(&sel, data_mp, ipha, ip6h, in conn_to_unique() 1781 if (ipsec_init_inbound_sel(&sel, data_mp, ipha, ip6h, SEL_NONE) == in conn_to_unique() 1856 ipsec_check_ipsecin_policy(mblk_t *data_mp, ipsec_policy_t *ipsp, in ipsec_check_ipsecin_policy() argument 1874 return (ipsec_check_loopback_policy(data_mp, ira, ipsp)); in ipsec_check_ipsecin_policy() 1903 if (ipsec_check_ipsecin_action(ira, data_mp, ap, in ipsec_check_ipsecin_policy() 1907 return (data_mp); in ipsec_check_ipsecin_policy() [all …]
|
H A D | ip6_asp.c | 242 mblk_t *data_mp, *mp; in ip6_asp_check_for_updates() local 259 data_mp = mp->b_cont; in ip6_asp_check_for_updates() 260 if (data_mp == NULL) { in ip6_asp_check_for_updates() 264 table = (ip6_asp_t *)data_mp->b_rptr; in ip6_asp_check_for_updates()
|
H A D | icmp.c | 129 static int icmp_output_newdst(conn_t *connp, mblk_t *data_mp, sin_t *sin, 2378 mblk_t *data_mp, int *errorp) in icmp_prepend_hdr() argument 2385 data_len = msgdsize(data_mp); in icmp_prepend_hdr() 2387 flowinfo, 0, data_mp, data_len, is->is_wroff_extra, &cksum, errorp); in icmp_prepend_hdr() 4132 mblk_t *data_mp; in icmp_wput() local 4164 data_mp = mp->b_cont; in icmp_wput() 4165 if (data_mp == NULL) { in icmp_wput() 4244 data_mp, mp, NULL, cr, pid); in icmp_wput() 4265 error = icmp_output_lastdst(connp, data_mp, cr, in icmp_wput() 4269 error = icmp_output_newdst(connp, data_mp, NULL, in icmp_wput() [all …]
|
H A D | conn_opt.c | 2293 uint8_t protocol, uint32_t flowinfo, uint_t ulp_hdr_length, mblk_t *data_mp, in conn_prepend_hdr() argument 2313 if (data_mp != NULL && in conn_prepend_hdr() 2314 data_mp->b_rptr - data_mp->b_datap->db_base >= hdrs_len && in conn_prepend_hdr() 2315 data_mp->b_datap->db_ref == 1) { in conn_prepend_hdr() 2316 hdrs = data_mp->b_rptr - hdrs_len; in conn_prepend_hdr() 2317 data_mp->b_rptr = hdrs; in conn_prepend_hdr() 2318 mp = data_mp; in conn_prepend_hdr() 2322 freemsg(data_mp); in conn_prepend_hdr() 2328 mp->b_cont = data_mp; in conn_prepend_hdr()
|
H A D | ip_multi.c | 2201 mblk_t *data_mp = mp->b_cont->b_cont; in ip_sioctl_msfilter() local 2220 if (data_mp->b_cont != NULL) { in ip_sioctl_msfilter() 2221 if ((ndp = msgpullup(data_mp, -1)) == NULL) in ip_sioctl_msfilter() 2223 freemsg(data_mp); in ip_sioctl_msfilter() 2224 data_mp = ndp; in ip_sioctl_msfilter() 2225 mp->b_cont->b_cont = data_mp; in ip_sioctl_msfilter() 2232 datalen = MBLKL(data_mp); in ip_sioctl_msfilter() 2242 imsf = (struct ip_msfilter *)data_mp->b_rptr; in ip_sioctl_msfilter() 2246 gf = (struct group_filter *)data_mp->b_rptr; in ip_sioctl_msfilter()
|
H A D | ip_if.c | 7768 mblk_t *data_mp; in ip_sioctl_ip6addrpolicy() local 7783 data_mp = mp->b_cont; in ip_sioctl_ip6addrpolicy() 7784 if (data_mp == NULL) { in ip_sioctl_ip6addrpolicy() 7795 if (MBLKL(data_mp) < iocp->ioc_count) { in ip_sioctl_ip6addrpolicy() 7797 if ((new_data_mp = msgpullup(data_mp, -1)) == in ip_sioctl_ip6addrpolicy() 7802 freemsg(data_mp); in ip_sioctl_ip6addrpolicy() 7803 data_mp = new_data_mp; in ip_sioctl_ip6addrpolicy() 7804 mp->b_cont = data_mp; in ip_sioctl_ip6addrpolicy() 7806 table = (ip6_asp_t *)data_mp->b_rptr; in ip_sioctl_ip6addrpolicy() 7867 mblk_t *data_mp; in ip_sioctl_dstinfo() local [all …]
|
H A D | sadb.c | 7036 mblk_t *data_mp; local 7041 data_mp = buf_pkt->b_cont; 7045 ip_drop_input("ip_recv_attr_from_mblk", data_mp, NULL); 7046 freemsg(data_mp); 7048 ip_input_post_ipsec(data_mp, &iras);
|
/titanic_44/usr/src/uts/common/inet/iptun/ |
H A D | iptun.c | 2385 iptun_input_icmp_v4(iptun_t *iptun, mblk_t *data_mp, icmph_t *icmph, in iptun_input_icmp_v4() argument 2394 ASSERT(data_mp->b_cont == NULL); in iptun_input_icmp_v4() 2399 orig = data_mp->b_rptr; in iptun_input_icmp_v4() 2400 data_mp->b_rptr = (uint8_t *)(icmph + 1); in iptun_input_icmp_v4() 2406 ASSERT(MBLKL(data_mp) >= 0); in iptun_input_icmp_v4() 2407 outer_hlen = iptun_find_headers(data_mp, 0, &outer4, &inner4, &outer6, in iptun_input_icmp_v4() 2410 data_mp->b_rptr = orig; in iptun_input_icmp_v4() 2412 iptun_drop_pkt(data_mp, &iptun->iptun_ierrors); in iptun_input_icmp_v4() 2420 data_mp = ipsec_tun_inbound(ira, data_mp, iptun->iptun_itp, in iptun_input_icmp_v4() 2422 if (data_mp == NULL) { in iptun_input_icmp_v4() [all …]
|
/titanic_44/usr/src/uts/common/io/ib/clients/eoib/ |
H A D | eib_data.c | 858 mblk_t *data_mp; in eib_data_prepare_sgl() local 879 data_mp = mp; in eib_data_prepare_sgl() 890 data_mp = nmp; /* start of data past lso header */ in eib_data_prepare_sgl() 891 ASSERT(data_mp != NULL); in eib_data_prepare_sgl() 908 for (nmp = data_mp; nmp != NULL; nmp = nmp->b_cont) { in eib_data_prepare_sgl() 939 for (nmp = data_mp; i < nblks; i++, nmp = nmp->b_cont) { in eib_data_prepare_sgl() 942 if (nmp == data_mp) { in eib_data_prepare_sgl() 984 for (nmp = data_mp; nmp != NULL; nmp = nmp->b_cont) { in eib_data_prepare_sgl() 1020 nmp = data_mp; in eib_data_prepare_sgl()
|
/titanic_44/usr/src/uts/common/inet/udp/ |
H A D | udp.c | 166 static int udp_output_newdst(conn_t *connp, mblk_t *data_mp, sin_t *sin, 1995 uint32_t flowinfo, mblk_t *data_mp, int *errorp) in udp_prepend_hdr() argument 2006 data_len = msgdsize(data_mp); in udp_prepend_hdr() 2012 ulp_hdr_len, data_mp, data_len, us->us_wroff_extra, &cksum, errorp); in udp_prepend_hdr() 3380 mblk_t *data_mp; in udp_wput() local 3442 data_mp = mp->b_cont; in udp_wput() 3443 if (data_mp == NULL) { in udp_wput() 3554 data_mp, mp, NULL, cr, pid); in udp_wput() 3576 error = udp_output_lastdst(connp, data_mp, cr, in udp_wput() 3581 error = udp_output_newdst(connp, data_mp, NULL, in udp_wput() [all …]
|
/titanic_44/usr/src/uts/common/inet/sctp/ |
H A D | sctp.c | 1908 mblk_t *data_mp; in sctp_process_recvq() local 1918 data_mp = mp->b_cont; in sctp_process_recvq() 1928 sctp_icmp_error(sctp, data_mp); in sctp_process_recvq() 1930 sctp_input_data(sctp, data_mp, &iras); in sctp_process_recvq()
|
/titanic_44/usr/src/uts/common/io/ib/clients/ibd/ |
H A D | ibd.c | 6757 mblk_t *data_mp; in ibd_prepare_sgl() local 6771 data_mp = mp; in ibd_prepare_sgl() 6781 data_mp = nmp; /* start of data past lso header */ in ibd_prepare_sgl() 6782 ASSERT(data_mp != NULL); in ibd_prepare_sgl() 6789 for (nmblks = 0, nmp = data_mp; nmp != NULL; in ibd_prepare_sgl() 6814 for (nmp = data_mp, i = 0; i < nmblks; i++, nmp = nmp->b_cont) { in ibd_prepare_sgl() 6851 for (nmp = data_mp; nmp != NULL; nmp = nmp->b_cont) { in ibd_prepare_sgl() 6878 nmp = data_mp; in ibd_prepare_sgl()
|
/titanic_44/usr/src/uts/common/io/fibre-channel/fca/emlxs/ |
H A D | emlxs_sli4.c | 5925 MBUF_INFO *data_mp; in emlxs_sli4_process_unsol_rcv() local 6268 data_mp = &data_rq->rqb[host_index]; in emlxs_sli4_process_unsol_rcv() 6271 data_mp->virt) - in emlxs_sli4_process_unsol_rcv() 6275 EMLXS_MPDATA_SYNC(data_mp->dma_handle, offset, in emlxs_sli4_process_unsol_rcv() 6278 data = (uint32_t *)data_mp->virt; in emlxs_sli4_process_unsol_rcv()
|