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

Function mac_ip6q_init

freebsd/security/mac/mac_inet6.c:85–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83}
84
85int
86mac_ip6q_init(struct ip6q *q6, int flag)
87{
88
89 if (mac_labeled & MPC_OBJECT_IP6Q) {
90 q6->ip6q_label = mac_ip6q_label_alloc(flag);
91 if (q6->ip6q_label == NULL)
92 return (ENOMEM);
93 } else
94 q6->ip6q_label = NULL;
95 return (0);
96}
97
98static void
99mac_ip6q_label_free(struct label *label)

Callers 1

frag6_inputFunction · 0.85

Calls 1

mac_ip6q_label_allocFunction · 0.85

Tested by

no test coverage detected