lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] IP_HDRINCL in ip_output_if()


From: Jani Monoses
Subject: Re: [lwip-users] IP_HDRINCL in ip_output_if()
Date: Fri, 3 Oct 2003 09:35:48 +0300

Unlike the comment suggests it's not used at TCP retransmits but in ICMP
replies when the header of the ICMP request is reused and changes only a
little.

> Hello,
> 
> does someone remember when and why IP_HDRINCL is implemented in
> netif.c/ip_output_if()?
> 
> -----
> ip_output_if(struct pbuf *p, struct ip_addr *src, struct ip_addr
> *dest,
>              u8_t ttl, u8_t tos,
>              u8_t proto, struct netif *netif)
> {
>   static struct ip_hdr *iphdr;
>   static u16_t ip_id = 0;
> 
>   snmp_inc_ipoutrequests();
> 
>   if (dest != IP_HDRINCL) {
> -----
> 
> Regards, Leon.
> 
> 
> _______________________________________________
> lwip-users mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/lwip-users




reply via email to

[Prev in Thread] Current Thread [Next in Thread]