ndisc/trivial: add a couple of comments of where do the constants come from

This commit is contained in:
Lubomir Rintel
2016-11-03 11:58:08 +01:00
parent f69b6c038e
commit d09aea62ee

View File

@@ -109,8 +109,8 @@ typedef enum {
} NMNDiscConfigMap; } NMNDiscConfigMap;
#define NM_NDISC_MAX_ADDRESSES_DEFAULT 16 #define NM_NDISC_MAX_ADDRESSES_DEFAULT 16
#define NM_NDISC_ROUTER_SOLICITATIONS_DEFAULT 3 #define NM_NDISC_ROUTER_SOLICITATIONS_DEFAULT 3 /* RFC4861 MAX_RTR_SOLICITATIONS */
#define NM_NDISC_ROUTER_SOLICITATION_INTERVAL_DEFAULT 4 #define NM_NDISC_ROUTER_SOLICITATION_INTERVAL_DEFAULT 4 /* RFC4861 RTR_SOLICITATION_INTERVAL */
struct _NMNDiscPrivate; struct _NMNDiscPrivate;
struct _NMNDiscDataInternal; struct _NMNDiscDataInternal;