• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.5.8/xnu-1228.15.4/bsd/netinet/

Lines Matching refs:in

7  * as defined in and that are subject to the Apple Public Source License
8 * Version 2.0 (the 'License'). You may not use this file except in
32 * Redistribution and use in source and binary forms, with or without
37 * 2. Redistributions in binary form must reproduce the above copyright
38 * notice, this list of conditions and the following disclaimer in the
64 * NOTICE: This file was modified by SPARTA, Inc. in 2005 to introduce
66 * is included in support of clause 2.2 (b) of the Apple Public License,
87 #include <netinet/in.h>
187 * IP output. The packet in mbuf chain m contains a skeletal IP
391 * Fill in IP header.
425 * The address family should also be checked in case of sharing the
519 * If the source address is spoofed (in the case
541 * in the current implementation, and we don't want to
561 * the link layer, as this is probably required in all cases
618 * still points to the address in "ro". (It may have been
956 /* mbuf is already reclaimed in ipsec4_output. */
1065 * - Encapsulate: put it in another IP and send out. <unimp.>
1098 * If some of the above modules is not compiled in, then
1102 * packets in case of doubt.
1121 * not recomputed in the next pass.
1125 * while a pkt is in dummynet, we are in trouble!
1175 * If it isn't (which may be likely in some situations) we have
1178 * forwarding which in most cases is undesirable, except where
1269 * This rewrites the cached route in a local PCB.
1331 * Return ENETUNREACH like ip6_output does in some similar cases.
1357 sw_csum = CSUM_DELAY_IP; /* do IP hdr chksum in software */
1551 * and updating header, then send each fragment (in order).
1586 panic("ip_output: mix of packet in packetlist is wrong=%p", packetlist);
1656 printf("in_delayed_cksum_withoffset failed - ip_offset wasn't in the packet\n");
1683 * We could be in the context of an IP or interface filter; in the
1684 * former case, ip_len would be in host (correct) order while for
1685 * the latter it would be in network order. Because of this, we
1722 /* Insert the checksum in the existing chain */
1754 printf("in_cksum_offset failed - ip_offset wasn't in the packet\n");
1788 * We could be in the context of an IP or interface filter; in the
1789 * former case, ip_len would be in host order while for the latter
1790 * it would be in network (correct) order. Because of this, we
1822 /* Insert the checksum in the existing chain if IP header not contiguous */
1840 * XXX This routine assumes that the packet has no options in place.
2194 * directly reachable. Note that in the multicast transmit
2197 * in this case, IP_BOUND_IF sets the default interface used
2198 * for sending multicast packets in the absence of an explicit
2351 * Set up IP options in pcb for insertion in output packets.
2352 * Store in mbuf with pointer in pcbopt, adding pseudo-option
2420 * A is first hop destination, which doesn't appear in
2494 * Set the IP multicast options in response to user setsockopt().
2521 /* store an index number for the vif you wanna use in the send */
2666 * Set the IP multicast options in response to user setsockopt().
2805 * Find the membership in the membership array.
2824 * Remove the gap in the membership array.
2834 * Return the IP multicast options in response to user getsockopt().
2954 * reentrancy problems in other areas which might
2955 * be exposed by using ip_input directly (in
2957 * in-place). Yet another option is using the
2975 * out on in the mbuf. ip_input will check if_hwassist of the
2994 * We need to send all loopback traffic down to dlil in case
2995 * a filter has tapped-in.
2999 * Stuff the 'real' ifp into the pkthdr, to be used in matching
3000 * in ip_input(); we need the loopback ifp/dl_tag passed as args
3088 * IP address; in this case, the route will get blown away
3178 * Otherwise, take in whatever value the app desires;
3192 /* Blow away any cached route in the PCB */