Lines Matching refs:fou_add_req
25 struct fou_add_req { struct
50 static inline struct fou_add_req *fou_add_req_alloc(void) in fou_add_req_alloc() argument
52 return calloc(1, sizeof(struct fou_add_req)); in fou_add_req_alloc()
54 void fou_add_req_free(struct fou_add_req *req);
57 fou_add_req_set_port(struct fou_add_req *req, __u16 port /* big-endian */) in fou_add_req_set_port()
63 fou_add_req_set_ipproto(struct fou_add_req *req, __u8 ipproto) in fou_add_req_set_ipproto()
68 static inline void fou_add_req_set_type(struct fou_add_req *req, __u8 type) in fou_add_req_set_type()
73 static inline void fou_add_req_set_remcsum_nopartial(struct fou_add_req *req) in fou_add_req_set_remcsum_nopartial()
78 fou_add_req_set_local_v4(struct fou_add_req *req, __u32 local_v4) in fou_add_req_set_local_v4()
84 fou_add_req_set_peer_v4(struct fou_add_req *req, __u32 peer_v4) in fou_add_req_set_peer_v4()
90 fou_add_req_set_local_v6(struct fou_add_req *req, const void *local_v6, in fou_add_req_set_local_v6()
99 fou_add_req_set_peer_v6(struct fou_add_req *req, const void *peer_v6, in fou_add_req_set_peer_v6()
108 fou_add_req_set_peer_port(struct fou_add_req *req, in fou_add_req_set_peer_port()
115 fou_add_req_set_ifindex(struct fou_add_req *req, __s32 ifindex) in fou_add_req_set_ifindex()
124 int fou_add(struct ynl_sock *ys, struct fou_add_req *req);