/illumos-gate/usr/src/uts/common/inet/sctp/ |
H A D | sctp_tunables.c | 34 #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 D | ip.h | 59 #define IP_MAXPACKET 65535 /* maximum packet size */ macro
|
/illumos-gate/usr/src/boot/include/netinet/ |
H A D | ip.h | 72 #define IP_MAXPACKET 65535 /* maximum packet size */ macro
|
/illumos-gate/usr/src/uts/common/inet/tcp/ |
H A D | tcp_tunables.c | 36 #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 D | tcp_output.c | 1855 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 D | ping.c | 198 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 D | traceroute.c | 116 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 D | mpd_probe.c | 371 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 D | tcp.h | 119 #define TCP_MAX_LSO_LENGTH (IP_MAXPACKET - TCP_MAX_COMBINED_HEADER_LENGTH)
|
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | ip6_output.c | 171 ixa->ixa_fragsize = IP_MAXPACKET; in ip_output_simple_v6() 1033 if (pktlen > IP_MAXPACKET) in ire_send_wire_v6()
|
H A D | icmp.c | 207 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 D | ip6.c | 1376 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 D | ip_dce.c | 691 dce->dce_pmtu = MIN(uinfo->iulp_mtu, IP_MAXPACKET); in dce_setuinfo()
|
H A D | ip_output.c | 868 ixa->ixa_fragsize = IP_MAXPACKET; in ip_output_simple_v4() 1971 if (pktlen > IP_MAXPACKET) in ire_send_wire_v4()
|
H A D | ip.c | 2924 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 D | ndp.c | 102 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 D | main.c | 67 static uint64_t packet[(IP_MAXPACKET + 1)/8];
|
/illumos-gate/usr/src/uts/common/io/mac/ |
H A D | mac_util.c | 673 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 D | ibd_cm.c | 256 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 D | viona_main.c | 744 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 D | vrrpd.c | 3219 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 D | udp.c | 295 #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 D | iptun.c | 94 #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 D | vmxnet3_main.c | 1038 lso->lso_basic_tcp_ipv4.lso_max = IP_MAXPACKET; in vmxnet3_getcapab()
|
/illumos-gate/usr/src/uts/common/xen/io/ |
H A D | xnf.c | 3159 lso->lso_basic_tcp_ipv4.lso_max = IP_MAXPACKET; in xnf_getcapab()
|