summaryrefslogtreecommitdiff
path: root/lib/sockunion.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2019-05-24 08:30:53 -0400
committerDonald Sharp <sharpd@cumulusnetworks.com>2019-05-24 08:35:35 -0400
commit51da3896265c601f79f765122e73304cf0943f70 (patch)
treec7ca7bfcaf15e9ff724ca4a2c52ffd4c5be855f6 /lib/sockunion.h
parentcac9e917ebcf8551f2fe05295ddeeae69a352f5f (diff)
bgpd, lib: Remove SO_MARK
The SO_MARK socket option was being used pre vrf to allow for the separation of the front panel -vs- the management port. This was facilitated by a ip rule. Since this is undocumented anywhere in our system( other than old commits see ed40466af80c9d0b88436c637a1d54b28a669b1c ). We should remove this because this will cause interference with people using rules and are not aware of this offshoot of functionality. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/sockunion.h')
-rw-r--r--lib/sockunion.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/sockunion.h b/lib/sockunion.h
index b996735550..7091c1b5e7 100644
--- a/lib/sockunion.h
+++ b/lib/sockunion.h
@@ -93,7 +93,6 @@ extern int sockunion_bind(int sock, union sockunion *, unsigned short,
extern int sockopt_ttl(int family, int sock, int ttl);
extern int sockopt_minttl(int family, int sock, int minttl);
extern int sockopt_cork(int sock, int onoff);
-extern int sockopt_mark_default(int sock, int mark, struct zebra_privs_t *);
extern int sockunion_socket(const union sockunion *su);
extern const char *inet_sutop(const union sockunion *su, char *str);
extern enum connect_result sockunion_connect(int fd, const union sockunion *su,