Searched refs:spid (Results 1 - 11 of 11) sorted by relevance

/external/dhcpcd/
H A Dcommon.c216 char spid[16]; local
221 snprintf(spid, sizeof(spid), "%u\n", pid);
222 len = pwrite(fd, spid, strlen(spid), (off_t)0);
223 if (len != (ssize_t)strlen(spid))
/external/ipsec-tools/src/libipsec/
H A Dtest-policy.c230 int spid; local
283 spid = test2sub(so);
285 printf("spdget(%u)\n", spid);
286 if (pfkey_send_spdget(so, spid) < 0)
295 if (pfkey_send_spddelete2(so, spid) < 0)
305 spid = test2sub(so);
H A Dpfkey.c1023 pfkey_send_spddelete2(int so, u_int32_t spid) argument
1027 if ((len = pfkey_send_x5(so, SADB_X_SPDDELETE2, spid)) < 0)
1040 pfkey_send_spdget(int so, u_int32_t spid) argument
1044 if ((len = pfkey_send_x5(so, SADB_X_SPDGET, spid)) < 0)
1730 pfkey_send_x5(int so, u_int type, u_int32_t spid) argument
1762 xpl.sadb_x_policy_id = spid;
/external/dbus/bus/
H A Dselinux.c481 unsigned long spid; local
489 if (!dbus_connection_get_unix_process_id (connection, &spid))
490 spid = 0;
501 if (spid)
503 if (!_dbus_string_append (&auxdata, " spid="))
506 if (!_dbus_string_append_uint (&auxdata, spid))
552 unsigned long spid, tpid; local
560 if (!sender || !dbus_connection_get_unix_process_id (sender, &spid))
561 spid = 0;
608 if (spid)
[all...]
/external/ipsec-tools/src/racoon/
H A Dhandler.h289 u_int32_t spid; /* policy id by kernel */ member in struct:ph2handle
360 u_int32_t spid; member in struct:ph2selector
H A Dpolicy.c170 getspbyspid(spid)
171 u_int32_t spid;
176 if (p->id == spid)
H A Dhandler.c546 if (sel->spid != 0 && sel->spid != p->spid)
606 * SA for a given spid. One could say that src and dst
610 getph2byid(src, dst, spid)
612 u_int32_t spid;
617 if (spid == p->spid &&
H A Dpfkey.c1927 iph2->spid = xpl->sadb_x_policy_id;
3025 /* Consider existing Phase 2 handles with given spid and update their source
3163 migrate_ph2_one_isr(spid, isr_cur, xisr_old, xisr_new)
3164 u_int32_t spid;
3226 * and make the lookup using spid: we blindly update
3229 ph2sel.spid = spid;
3374 u_int32_t spid; local
3465 * XXX We could also do the lookup using the spid from xpl.
3535 ph2sel.spid
[all...]
H A Dadmin.c562 iph2->spid = sp_out->id;
H A Dipsec_doi.c3934 sp = getspbyspid(iph2->spid);
3937 "no policy found for spid:%u.\n", iph2->spid);
H A Disakmp_quick.c2536 iph2->spid = sp_in->id;

Completed in 280 milliseconds