Searched defs:encap_method (Results 1 – 2 of 2) sorted by relevance
110 struct encap_method { struct111 int fixed_header_size;113 int (*recv) (struct sa_block *s, unsigned char *buf, unsigned int bufsize);114 void (*send_peer) (struct sa_block *s, unsigned char *buf, unsigned int bufsize);115 int (*recv_peer) (struct sa_block *s);
245 struct encap_method { struct256 int (*recv)(struct encap_method *encap, argument259 int (*hmac_compute)(struct encap_method *encap, argument263 struct peer_desc *(*peer_find)(struct encap_method *encap); argument264 void (*send_peer)(struct encap_method *encap, argument267 int (*recv_peer)(struct encap_method *encap, argument