Searched refs:sadb_x_policy (Results 1 – 10 of 10) sorted by relevance
474 struct sadb_x_policy *p; in init_x_policy()480 pbuf = malloc(sizeof(struct sadb_x_policy)); in init_x_policy()485 tlen = sizeof(struct sadb_x_policy); in init_x_policy()488 p = (struct sadb_x_policy *)pbuf; in init_x_policy()611 ((struct sadb_x_policy *)pbuf)->sadb_x_policy_len = PFKEY_UNIT64(tlen);
186 memcpy(getbuf, policy, sizeof(struct sadb_x_policy));330 return ((struct sadb_x_policy *)mhp[SADB_X_EXT_POLICY])->sadb_x_policy_id;
97 struct sadb_x_policy *xpl = policy;
494 struct sadb_x_policy *m_xpl;
441 struct sadb_x_policy *xpl = (void *)ext;
1000 if (policylen != sizeof(struct sadb_x_policy)) {1069 if (policylen != sizeof(struct sadb_x_policy)) {1738 struct sadb_x_policy xpl;
1639 struct sadb_x_policy *xpl;1666 xpl = (struct sadb_x_policy *)mhp[SADB_X_EXT_POLICY];2017 struct sadb_x_policy *xpl;2033 policylen = sizeof(struct sadb_x_policy);2063 xpl = (struct sadb_x_policy *)policy;2221 struct sadb_x_policy *xpl;2238 xpl = (struct sadb_x_policy *)mhp[SADB_X_EXT_POLICY];2343 struct sadb_x_policy *xpl;2360 xpl = (struct sadb_x_policy *)mhp[SADB_X_EXT_POLICY];2460 struct sadb_x_policy *xpl;[all …]
298 struct sadb_x_policy p = { in setsockopt_bypass()299 .sadb_x_policy_len = PFKEY_UNIT64(sizeof(struct sadb_x_policy)), in setsockopt_bypass()
177 struct sadb_x_policy { struct
197 struct sadb_x_policy p; in spdadd()