lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [patch #7904] Add mnemonics for IPPROTO_{ICMP, ICMPV6, RAW}


From: Grant Erickson
Subject: [lwip-devel] [patch #7904] Add mnemonics for IPPROTO_{ICMP, ICMPV6, RAW}.
Date: Thu, 20 Dec 2012 16:34:33 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_5) AppleWebKit/536.26.17 (KHTML, like Gecko) Version/6.0.2 Safari/536.26.17

URL:
  <http://savannah.nongnu.org/patch/?7904>

                 Summary: Add mnemonics for IPPROTO_{ICMP,ICMPV6,RAW}.
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: marathon96
            Submitted on: Thu 20 Dec 2012 04:34:32 PM GMT
                Category: None
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None

    _______________________________________________________

Details:

From: Grant Erickson <address@hidden>
Date: Wed, 19 Dec 2012 18:19:54 -0800
Subject: [PATCH 1/1] Add mnemonics for IPPROTO_{ICMP,ICMPV6,RAW}.

---
 src/include/lwip/sockets.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/include/lwip/sockets.h b/src/include/lwip/sockets.h
index 7346137..6906ed3 100644
--- a/src/include/lwip/sockets.h
+++ b/src/include/lwip/sockets.h
@@ -146,12 +146,15 @@ struct linger {
 #define PF_UNSPEC       AF_UNSPEC
 
 #define IPPROTO_IP      0
+#define IPPROTO_ICMP    1
 #define IPPROTO_TCP     6
 #define IPPROTO_UDP     17
 #if LWIP_IPV6
 #define IPPROTO_IPV6    41
+#define IPPROTO_ICMPV6  58
 #endif /* LWIP_IPV6 */
 #define IPPROTO_UDPLITE 136
+#define IPPROTO_RAW     255
 
 /* Flags we can use with send and recv. */
 #define MSG_PEEK       0x01    /* Peeks at an incoming message */



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Thu 20 Dec 2012 04:34:32 PM GMT  Name: rfc3542-checksum-0001.0.patch 
Size: 838B   By: marathon96
Patch 1/1.
<http://savannah.nongnu.org/patch/download.php?file_id=27130>

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?7904>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

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