MCPcopy Create free account
hub / github.com/F-Stack/f-stack / IPv6

Function IPv6

dpdk/app/test/test_lpm6.c:95–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93#define PASS 0
94
95static void
96IPv6(uint8_t *ip, uint8_t b1, uint8_t b2, uint8_t b3, uint8_t b4, uint8_t b5,
97 uint8_t b6, uint8_t b7, uint8_t b8, uint8_t b9, uint8_t b10,
98 uint8_t b11, uint8_t b12, uint8_t b13, uint8_t b14, uint8_t b15,
99 uint8_t b16)
100{
101 ip[0] = b1;
102 ip[1] = b2;
103 ip[2] = b3;
104 ip[3] = b4;
105 ip[4] = b5;
106 ip[5] = b6;
107 ip[6] = b7;
108 ip[7] = b8;
109 ip[8] = b9;
110 ip[9] = b10;
111 ip[10] = b11;
112 ip[11] = b12;
113 ip[12] = b13;
114 ip[13] = b14;
115 ip[14] = b15;
116 ip[15] = b16;
117}
118
119/*
120 * Check that rte_lpm6_create fails gracefully for incorrect user input

Callers 14

test18Function · 0.85
test19Function · 0.85
test20Function · 0.85
test21Function · 0.85
test22Function · 0.85
test23Function · 0.85
decryptMethod · 0.85
test_outb_ipv6_nooptMethod · 0.85
test_outb_ipv6_optMethod · 0.85
test_inb_ipv6_nooptMethod · 0.85
test_inb_ipv6_optMethod · 0.85
test_inb_ipv6_fragMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected