Home
last modified time | relevance | path

Searched refs:IP_MAXPACKET (Results 1 – 25 of 28) sorted by relevance

12

/illumos-gate/usr/src/uts/common/inet/sctp/
H A Dsctp_tunables.c34 #define SCTP_MSS_MAX_IPV4 (IP_MAXPACKET - (sizeof (ipha_t) + \
36 #define SCTP_MSS_MAX_IPV6 (IP_MAXPACKET - (sizeof (ip6_t) + \
/illumos-gate/usr/src/uts/common/netinet/
H A Dip.h59 #define IP_MAXPACKET 65535 /* maximum packet size */ macro
/illumos-gate/usr/src/boot/include/netinet/
H A Dip.h72 #define IP_MAXPACKET 65535 /* maximum packet size */ macro
/illumos-gate/usr/src/uts/common/inet/tcp/
H A Dtcp_tunables.c36 #define TCP_MSS_MAX_IPV4 (IP_MAXPACKET - (sizeof (ipha_t) + sizeof (tcpha_t)))
37 #define TCP_MSS_MAX_IPV6 (IP_MAXPACKET - (sizeof (ip6_t) + sizeof (tcpha_t)))
H A Dtcp_output.c1855 ASSERT(num_lso_seg <= IP_MAXPACKET / mss + 1); in tcp_send()
2219 ixa->ixa_fragsize = IP_MAXPACKET; in tcp_send()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ping/
H A Dping.c198 static uint64_t in_pkt[(IP_MAXPACKET + 1)/8];
201 static uint64_t ancillary_data[(IP_MAXPACKET + 1)/8];
580 if (datalen > (IP_MAXPACKET - (sizeof (struct ip6_hdr) + in main()
624 if (datalen > (IP_MAXPACKET - (sizeof (struct ip) + opt_len + in main()
2064 static uint64_t out_pkt_buf[(IP_MAXPACKET + 1) / 8]; in pinger()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/traceroute/
H A Dtraceroute.c116 static uint64_t packet[(IP_MAXPACKET + 1)/8]; /* received packet */
122 static uint64_t ancillary_data[(IP_MAXPACKET + 1)/8];
823 } else if (minpacket > plen || plen > IP_MAXPACKET) { in calc_packetlen()
825 prog, pr->name, minpacket, IP_MAXPACKET); in calc_packetlen()
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.mpathd/
H A Dmpd_probe.c371 static uint64_t in_packet[(IP_MAXPACKET + 1)/8]; in in_data()
372 static uint64_t ancillary_data[(IP_MAXPACKET + 1)/8]; in in_data()
500 static uint64_t in_packet[(IP_MAXPACKET + 1)/8]; in in6_data()
501 static uint64_t ancillary_data[(IP_MAXPACKET + 1)/8]; in in6_data()
/illumos-gate/usr/src/uts/common/inet/
H A Dtcp.h119 #define TCP_MAX_LSO_LENGTH (IP_MAXPACKET - TCP_MAX_COMBINED_HEADER_LENGTH)
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dip6_output.c171 ixa->ixa_fragsize = IP_MAXPACKET; in ip_output_simple_v6()
1033 if (pktlen > IP_MAXPACKET) in ire_send_wire_v6()
H A Dicmp.c207 IP_MAXPACKET, /* TSDU_size. icmp allows maximum size messages. */
213 IP_MAXPACKET, /* TIDU_size. icmp allows maximum size messages. */
3220 if (ixa->ixa_pktlen > IP_MAXPACKET) { in icmp_output_hdrincl()
3595 if (ixa->ixa_pktlen > IP_MAXPACKET) { in icmp_output_ancillary()
4006 if (pktlen > IP_MAXPACKET) { in icmp_prepend_header_template()
5420 sopp.sopp_maxpsz = IP_MAXPACKET; in rawip_activate()
H A Dip6.c1376 if (msg_len > IP_MAXPACKET + IPV6_HDR_LEN) { in icmp_pkt_v6()
1377 (void) adjmsg(mp, IP_MAXPACKET + IPV6_HDR_LEN - msg_len); in icmp_pkt_v6()
1378 msg_len = IP_MAXPACKET + IPV6_HDR_LEN; in icmp_pkt_v6()
3356 if (end > IP_MAXPACKET) { in ip_input_fragment_v6()
H A Dip_dce.c691 dce->dce_pmtu = MIN(uinfo->iulp_mtu, IP_MAXPACKET); in dce_setuinfo()
H A Dip_output.c868 ixa->ixa_fragsize = IP_MAXPACKET; in ip_output_simple_v4()
1971 if (pktlen > IP_MAXPACKET) in ire_send_wire_v4()
H A Dip.c2924 if (msg_len > IP_MAXPACKET) { in icmp_pkt()
2925 (void) adjmsg(mp, IP_MAXPACKET - msg_len); in icmp_pkt()
2926 msg_len = IP_MAXPACKET; in icmp_pkt()
3757 pmtu = IP_MAXPACKET; in ip_get_pmtu()
6605 uint32_t pmtu = IP_MAXPACKET; in ip_fill_mtuinfo()
7474 if (packet_size > IP_MAXPACKET) { in ip_input_fragment()
10123 mae.ipAdEntReasmMaxSize = IP_MAXPACKET; in ip_snmp_get_mib2_ip_addr()
10239 mae6.ipv6AddrReasmMaxSize = IP_MAXPACKET; in ip_snmp_get_mib2_ip6_addr()
11772 ASSERT(i1 <= IP_MAXPACKET); in ip_fragment_v4()
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ndpd/
H A Dndp.c102 static uint64_t in_packet[(IP_MAXPACKET + 1)/8]; in in_data()
103 static uint64_t ancillary_data[(IP_MAXPACKET + 1)/8]; in in_data()
H A Dmain.c67 static uint64_t packet[(IP_MAXPACKET + 1)/8];
/illumos-gate/usr/src/uts/common/io/mac/
H A Dmac_util.c673 ASSERT3U(seg_len, <, IP_MAXPACKET); in build_data_seg()
773 ASSERT3U(msgsize(omp), <=, IP_MAXPACKET + in mac_sw_lso()
/illumos-gate/usr/src/uts/common/io/ib/clients/ibd/
H A Dibd_cm.c256 if (msg_len > IP_MAXPACKET) { in ibd_async_rc_process_too_big()
259 (void) adjmsg(mp, IP_MAXPACKET - msg_len); in ibd_async_rc_process_too_big()
260 msg_len = IP_MAXPACKET; in ibd_async_rc_process_too_big()
/illumos-gate/usr/src/uts/intel/io/viona/
H A Dviona_main.c744 lso_cap.lso_basic_tcp_ipv4.lso_max >= IP_MAXPACKET) in viona_get_mac_capab()
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/vrrpd/
H A Dvrrpd.c3219 uint64_t buf[(IP_MAXPACKET + 1)/8]; in vrrpd_send_adv()
3536 uint64_t buf[(IP_MAXPACKET + 1)/8]; in vrrpd_sock_handler()
3537 uint64_t ancillary_data[(IP_MAXPACKET + 1)/8]; in vrrpd_sock_handler()
/illumos-gate/usr/src/uts/common/inet/udp/
H A Dudp.c295 #define UDP_MAXPACKET_IPV4 (IP_MAXPACKET - UDPH_SIZE - IP_SIMPLE_HDR_LENGTH)
312 #define UDP_MAXPACKET_IPV6 (IP_MAXPACKET - UDPH_SIZE - IPV6_HDR_LEN)
2972 if (ixa->ixa_pktlen > IP_MAXPACKET) { in udp_output_ancillary()
3351 if (pktlen > IP_MAXPACKET) { in udp_prepend_header_template()
/illumos-gate/usr/src/uts/common/inet/iptun/
H A Diptun.c94 #define IPTUN_MAX_IPV4_MTU (IP_MAXPACKET - sizeof (ipha_t))
95 #define IPTUN_MAX_IPV6_MTU (IP_MAXPACKET - sizeof (ip6_t) - \
/illumos-gate/usr/src/uts/intel/io/vmxnet3s/
H A Dvmxnet3_main.c1038 lso->lso_basic_tcp_ipv4.lso_max = IP_MAXPACKET; in vmxnet3_getcapab()
/illumos-gate/usr/src/uts/common/xen/io/
H A Dxnf.c3159 lso->lso_basic_tcp_ipv4.lso_max = IP_MAXPACKET; in xnf_getcapab()

12