Home
last modified time | relevance | path

Searched refs:xpl (Results 1 – 5 of 5) sorted by relevance

/external/ipsec-tools/src/libipsec/
Dipsec_dump_policy.c97 struct sadb_x_policy *xpl = policy; local
113 if (xpl->sadb_x_policy_exttype != SADB_X_EXT_POLICY) {
123 if (xpl->sadb_x_policy_priority == 0)
129 else if (xpl->sadb_x_policy_priority <
132 priority_offset = xpl->sadb_x_policy_priority - PRIORITY_HIGH;
135 else if (xpl->sadb_x_policy_priority >=
137 xpl->sadb_x_policy_priority <
140 priority_offset = xpl->sadb_x_policy_priority - PRIORITY_DEFAULT;
145 priority_offset = xpl->sadb_x_policy_priority - PRIORITY_LOW;
162 switch (xpl->sadb_x_policy_dir) {
[all …]
Dkey_debug.c441 struct sadb_x_policy *xpl = (void *)ext; local
453 xpl->sadb_x_policy_type, xpl->sadb_x_policy_dir,
455 xpl->sadb_x_policy_id, xpl->sadb_x_policy_priority);
457 xpl->sadb_x_policy_id);
460 if (xpl->sadb_x_policy_type == IPSEC_POLICY_IPSEC) {
464 tlen = PFKEY_UNUNIT64(xpl->sadb_x_policy_len) - sizeof(*xpl);
465 xisr = (void *)(xpl + 1);
Dpfkey.c1738 struct sadb_x_policy xpl; local
1745 + sizeof(xpl);
1760 if (p + sizeof(xpl) != ep) {
1764 memset(&xpl, 0, sizeof(xpl));
1765 xpl.sadb_x_policy_len = PFKEY_UNIT64(sizeof(xpl));
1766 xpl.sadb_x_policy_exttype = SADB_X_EXT_POLICY;
1767 xpl.sadb_x_policy_id = spid;
1768 memcpy(p, &xpl, sizeof(xpl));
/external/ipsec-tools/src/racoon/
Dpfkey.c1639 struct sadb_x_policy *xpl; local
1666 xpl = (struct sadb_x_policy *)mhp[SADB_X_EXT_POLICY];
1687 if (xpl->sadb_x_policy_type != IPSEC_POLICY_IPSEC) {
1749 iph2[0] = getph2byid(src, dst, xpl->sadb_x_policy_id);
1762 sp_out = getspbyspid(xpl->sadb_x_policy_id);
1765 xpl->sadb_x_policy_id);
1817 iph2[n]->spid = xpl->sadb_x_policy_id;
2017 struct sadb_x_policy *xpl; local
2063 xpl = (struct sadb_x_policy *)policy;
2064 xpl->sadb_x_policy_len = PFKEY_UNIT64(policylen);
[all …]
/external/libmtp/src/
Dptp.c4866 MTPProperties *xpl; in ptp_object_want()
4873 xpl = &props[j]; in ptp_object_want()
4874 switch (xpl->property) { in ptp_object_want()
4876 if (xpl->datatype != PTP_DTC_UINT32) { in ptp_object_want()
4877 ptp_debug (params, "ptp2/mtpfast: parentobject has type 0x%x???", xpl->datatype); in ptp_object_want()
4880 oinfo.ParentObject = xpl->propval.u32; in ptp_object_want()
4881 ptp_debug (params, "ptp2/mtpfast: parent 0x%x", xpl->propval.u32); in ptp_object_want()
4884 if (xpl->datatype != PTP_DTC_UINT16) { in ptp_object_want()
4885 ptp_debug (params, "ptp2/mtpfast: objectformat has type 0x%x???", xpl->datatype); in ptp_object_want()
4888 oinfo.ObjectFormat = xpl->propval.u16; in ptp_object_want()
[all …]