Lines Matching refs:sadb_msg

374 	struct sadb_msg *newmsg;  in pfkey_send_getspi_nat()
407 len = sizeof(struct sadb_msg) in pfkey_send_getspi_nat()
427 if ((newmsg = CALLOC((size_t)len, struct sadb_msg *)) == NULL) { in pfkey_send_getspi_nat()
601 struct sadb_msg *newmsg; in pfkey_send_delete_all()
629 len = sizeof(struct sadb_msg) in pfkey_send_delete_all()
635 if ((newmsg = CALLOC((size_t)len, struct sadb_msg *)) == NULL) { in pfkey_send_delete_all()
738 struct sadb_msg *newmsg; in pfkey_recv_register()
774 pfkey_set_supported(struct sadb_msg *msg, int tlen) in pfkey_set_supported()
789 p += sizeof(struct sadb_msg); in pfkey_set_supported()
1110 struct sadb_msg *newmsg; in pfkey_send_migrate()
1154 len = sizeof(struct sadb_msg) in pfkey_send_migrate()
1165 if ((newmsg = CALLOC(len, struct sadb_msg *)) == NULL) { in pfkey_send_migrate()
1213 struct sadb_msg *newmsg; in pfkey_send_x1()
1285 len = sizeof(struct sadb_msg) in pfkey_send_x1()
1334 if ((newmsg = CALLOC((size_t)len, struct sadb_msg *)) == NULL) { in pfkey_send_x1()
1487 struct sadb_msg *newmsg; in pfkey_send_x2()
1515 len = sizeof(struct sadb_msg) in pfkey_send_x2()
1522 if ((newmsg = CALLOC((size_t)len, struct sadb_msg *)) == NULL) { in pfkey_send_x2()
1570 struct sadb_msg *newmsg; in pfkey_send_x3()
1600 len = sizeof(struct sadb_msg); in pfkey_send_x3()
1602 if ((newmsg = CALLOC((size_t)len, struct sadb_msg *)) == NULL) { in pfkey_send_x3()
1632 struct sadb_msg *newmsg; in pfkey_send_x4()
1665 len = sizeof(struct sadb_msg) in pfkey_send_x4()
1673 if ((newmsg = CALLOC((size_t)len, struct sadb_msg *)) == NULL) { in pfkey_send_x4()
1718 struct sadb_msg *newmsg; in pfkey_send_x5()
1725 len = sizeof(struct sadb_msg) in pfkey_send_x5()
1728 if ((newmsg = CALLOC((size_t)len, struct sadb_msg *)) == NULL) { in pfkey_send_x5()
1871 struct sadb_msg *
1874 struct sadb_msg buf, *newmsg; in pfkey_recv()
1892 if ((newmsg = CALLOC((size_t)reallen, struct sadb_msg *)) == 0) { in pfkey_recv()
1929 pfkey_send(int so, struct sadb_msg *msg, int len) in pfkey_send()
1955 pfkey_align(struct sadb_msg *msg, caddr_t *mhp) in pfkey_align()
1979 p += sizeof(struct sadb_msg); in pfkey_align()
2072 struct sadb_msg *msg; in pfkey_check()
2202 struct sadb_msg *p; in pfkey_setsadbmsg()
2206 len = sizeof(struct sadb_msg); in pfkey_setsadbmsg()