/external/libnl/lib/ |
D | socket.c | 202 struct nl_sock *sk; in __alloc_socket() local 229 struct nl_sock *sk; in nl_socket_alloc() local 264 void nl_socket_free(struct nl_sock *sk) in nl_socket_free() 303 void nl_socket_disable_seq_check(struct nl_sock *sk) in nl_socket_disable_seq_check() 318 unsigned int nl_socket_use_seq(struct nl_sock *sk) in nl_socket_use_seq() 339 void nl_socket_disable_auto_ack(struct nl_sock *sk) in nl_socket_disable_auto_ack() 349 void nl_socket_enable_auto_ack(struct nl_sock *sk) in nl_socket_enable_auto_ack() 357 int _nl_socket_is_local_port_unspecified(struct nl_sock *sk) in _nl_socket_is_local_port_unspecified() 362 uint32_t _nl_socket_set_local_port_no_release(struct nl_sock *sk, int generate_other) in _nl_socket_set_local_port_no_release() 389 uint32_t nl_socket_get_local_port(const struct nl_sock *sk) in nl_socket_get_local_port() [all …]
|
D | nl.c | 102 int nl_connect(struct nl_sock *sk, int protocol) in nl_connect() 229 void nl_close(struct nl_sock *sk) in nl_close() 269 int nl_sendto(struct nl_sock *sk, void *buf, size_t size) in nl_sendto() 326 int nl_sendmsg(struct nl_sock *sk, struct nl_msg *msg, struct msghdr *hdr) in nl_sendmsg() 372 int nl_send_iovec(struct nl_sock *sk, struct nl_msg *msg, struct iovec *iov, unsigned iovlen) in nl_send_iovec() 446 int nl_send(struct nl_sock *sk, struct nl_msg *msg) in nl_send() 480 void nl_complete_msg(struct nl_sock *sk, struct nl_msg *msg) in nl_complete_msg() 515 int nl_send_auto(struct nl_sock *sk, struct nl_msg *msg) in nl_send_auto() 547 int nl_send_sync(struct nl_sock *sk, struct nl_msg *msg) in nl_send_sync() 579 int nl_send_simple(struct nl_sock *sk, int type, int flags, void *buf, in nl_send_simple() [all …]
|
/external/boringssl/src/crypto/stack/ |
D | stack.cc | 64 size_t OPENSSL_sk_num(const OPENSSL_STACK *sk) { in OPENSSL_sk_num() 71 void OPENSSL_sk_zero(OPENSSL_STACK *sk) { in OPENSSL_sk_zero() 80 void *OPENSSL_sk_value(const OPENSSL_STACK *sk, size_t i) { in OPENSSL_sk_value() 87 void *OPENSSL_sk_set(OPENSSL_STACK *sk, size_t i, void *value) { in OPENSSL_sk_set() 94 void OPENSSL_sk_free(OPENSSL_STACK *sk) { in OPENSSL_sk_free() 102 void OPENSSL_sk_pop_free_ex(OPENSSL_STACK *sk, in OPENSSL_sk_pop_free_ex() 124 void sk_pop_free(OPENSSL_STACK *sk, OPENSSL_sk_free_func free_func) { in sk_pop_free() 128 size_t OPENSSL_sk_insert(OPENSSL_STACK *sk, void *p, size_t where) { in OPENSSL_sk_insert() 178 void *OPENSSL_sk_delete(OPENSSL_STACK *sk, size_t where) { in OPENSSL_sk_delete() 196 void *OPENSSL_sk_delete_ptr(OPENSSL_STACK *sk, const void *p) { in OPENSSL_sk_delete_ptr() [all …]
|
D | stack_test.cc | 63 static void ExpectStackEquals(const STACK_OF(TEST_INT) *sk, in ExpectStackEquals() 85 bssl::UniquePtr<STACK_OF(TEST_INT)> sk(sk_TEST_INT_new_null()); in TEST() local 200 bssl::UniquePtr<STACK_OF(TEST_INT)> sk(sk_TEST_INT_new_null()); in TEST() local 235 bssl::UniquePtr<STACK_OF(TEST_INT)> sk(sk_TEST_INT_new(compare)); in TEST() local 322 bssl::UniquePtr<STACK_OF(TEST_INT)> sk(sk_TEST_INT_new(compare)); in TEST() local 368 bssl::UniquePtr<STACK_OF(TEST_INT)> sk(sk_TEST_INT_new(compare)); in TEST() local 403 bssl::UniquePtr<STACK_OF(TEST_INT)> sk(sk_TEST_INT_new(compare)); in TEST() local 445 bssl::UniquePtr<STACK_OF(TEST_INT)> sk(sk_TEST_INT_new_null()); in TEST() local 501 bssl::UniquePtr<STACK_OF(TEST_INT)> sk(sk_TEST_INT_new(compare)); in TEST() local
|
/external/cronet/stable/third_party/boringssl/src/crypto/stack/ |
D | stack.cc | 111 size_t OPENSSL_sk_num(const OPENSSL_STACK *sk) { in OPENSSL_sk_num() 118 void OPENSSL_sk_zero(OPENSSL_STACK *sk) { in OPENSSL_sk_zero() 127 void *OPENSSL_sk_value(const OPENSSL_STACK *sk, size_t i) { in OPENSSL_sk_value() 134 void *OPENSSL_sk_set(OPENSSL_STACK *sk, size_t i, void *value) { in OPENSSL_sk_set() 141 void OPENSSL_sk_free(OPENSSL_STACK *sk) { in OPENSSL_sk_free() 149 void OPENSSL_sk_pop_free_ex(OPENSSL_STACK *sk, in OPENSSL_sk_pop_free_ex() 171 void sk_pop_free(OPENSSL_STACK *sk, OPENSSL_sk_free_func free_func) { in sk_pop_free() 175 size_t OPENSSL_sk_insert(OPENSSL_STACK *sk, void *p, size_t where) { in OPENSSL_sk_insert() 225 void *OPENSSL_sk_delete(OPENSSL_STACK *sk, size_t where) { in OPENSSL_sk_delete() 243 void *OPENSSL_sk_delete_ptr(OPENSSL_STACK *sk, const void *p) { in OPENSSL_sk_delete_ptr() [all …]
|
D | stack_test.cc | 61 static void ExpectStackEquals(const STACK_OF(TEST_INT) *sk, in ExpectStackEquals() 83 bssl::UniquePtr<STACK_OF(TEST_INT)> sk(sk_TEST_INT_new_null()); in TEST() local 198 bssl::UniquePtr<STACK_OF(TEST_INT)> sk(sk_TEST_INT_new_null()); in TEST() local 233 bssl::UniquePtr<STACK_OF(TEST_INT)> sk(sk_TEST_INT_new(compare)); in TEST() local 320 bssl::UniquePtr<STACK_OF(TEST_INT)> sk(sk_TEST_INT_new(compare)); in TEST() local 366 bssl::UniquePtr<STACK_OF(TEST_INT)> sk(sk_TEST_INT_new(compare)); in TEST() local 401 bssl::UniquePtr<STACK_OF(TEST_INT)> sk(sk_TEST_INT_new(compare)); in TEST() local 443 bssl::UniquePtr<STACK_OF(TEST_INT)> sk(sk_TEST_INT_new_null()); in TEST() local 499 bssl::UniquePtr<STACK_OF(TEST_INT)> sk(sk_TEST_INT_new(compare)); in TEST() local
|
/external/cronet/tot/third_party/boringssl/src/crypto/stack/ |
D | stack.cc | 111 size_t OPENSSL_sk_num(const OPENSSL_STACK *sk) { in OPENSSL_sk_num() 118 void OPENSSL_sk_zero(OPENSSL_STACK *sk) { in OPENSSL_sk_zero() 127 void *OPENSSL_sk_value(const OPENSSL_STACK *sk, size_t i) { in OPENSSL_sk_value() 134 void *OPENSSL_sk_set(OPENSSL_STACK *sk, size_t i, void *value) { in OPENSSL_sk_set() 141 void OPENSSL_sk_free(OPENSSL_STACK *sk) { in OPENSSL_sk_free() 149 void OPENSSL_sk_pop_free_ex(OPENSSL_STACK *sk, in OPENSSL_sk_pop_free_ex() 171 void sk_pop_free(OPENSSL_STACK *sk, OPENSSL_sk_free_func free_func) { in sk_pop_free() 175 size_t OPENSSL_sk_insert(OPENSSL_STACK *sk, void *p, size_t where) { in OPENSSL_sk_insert() 225 void *OPENSSL_sk_delete(OPENSSL_STACK *sk, size_t where) { in OPENSSL_sk_delete() 243 void *OPENSSL_sk_delete_ptr(OPENSSL_STACK *sk, const void *p) { in OPENSSL_sk_delete_ptr() [all …]
|
D | stack_test.cc | 61 static void ExpectStackEquals(const STACK_OF(TEST_INT) *sk, in ExpectStackEquals() 83 bssl::UniquePtr<STACK_OF(TEST_INT)> sk(sk_TEST_INT_new_null()); in TEST() local 198 bssl::UniquePtr<STACK_OF(TEST_INT)> sk(sk_TEST_INT_new_null()); in TEST() local 233 bssl::UniquePtr<STACK_OF(TEST_INT)> sk(sk_TEST_INT_new(compare)); in TEST() local 320 bssl::UniquePtr<STACK_OF(TEST_INT)> sk(sk_TEST_INT_new(compare)); in TEST() local 366 bssl::UniquePtr<STACK_OF(TEST_INT)> sk(sk_TEST_INT_new(compare)); in TEST() local 401 bssl::UniquePtr<STACK_OF(TEST_INT)> sk(sk_TEST_INT_new(compare)); in TEST() local 443 bssl::UniquePtr<STACK_OF(TEST_INT)> sk(sk_TEST_INT_new_null()); in TEST() local 499 bssl::UniquePtr<STACK_OF(TEST_INT)> sk(sk_TEST_INT_new(compare)); in TEST() local
|
/external/rust/android-crates-io/crates/quiche/deps/boringssl/src/crypto/stack/ |
D | stack.c | 96 size_t sk_num(const _STACK *sk) { in sk_num() 103 void sk_zero(_STACK *sk) { in sk_zero() 112 void *sk_value(const _STACK *sk, size_t i) { in sk_value() 119 void *sk_set(_STACK *sk, size_t i, void *value) { in sk_set() 126 void sk_free(_STACK *sk) { in sk_free() 134 void sk_pop_free_ex(_STACK *sk, void (*call_free_func)(stack_free_func, void *), in sk_pop_free_ex() 155 void sk_pop_free(_STACK *sk, stack_free_func free_func) { in sk_pop_free() 159 size_t sk_insert(_STACK *sk, void *p, size_t where) { in sk_insert() 204 void *sk_delete(_STACK *sk, size_t where) { in sk_delete() 222 void *sk_delete_ptr(_STACK *sk, const void *p) { in sk_delete_ptr() [all …]
|
/external/bcc/libbpf-tools/ |
D | tcpconnlat.bpf.c | 34 static int trace_connect(struct sock *sk) in trace_connect() 49 static int handle_tcp_rcv_state_process(void *ctx, struct sock *sk) in handle_tcp_rcv_state_process() 96 int BPF_KPROBE(tcp_v4_connect, struct sock *sk) in BPF_KPROBE() 102 int BPF_KPROBE(tcp_v6_connect, struct sock *sk) in BPF_KPROBE() 108 int BPF_KPROBE(tcp_rcv_state_process, struct sock *sk) in BPF_KPROBE() 116 const struct sock *sk = ctx->skaddr; in tcp_destroy_sock() local 123 int BPF_PROG(fentry_tcp_v4_connect, struct sock *sk) in BPF_PROG() 129 int BPF_PROG(fentry_tcp_v6_connect, struct sock *sk) in BPF_PROG() 135 int BPF_PROG(fentry_tcp_rcv_state_process, struct sock *sk) in BPF_PROG()
|
D | tcppktlat.bpf.c | 28 static int handle_tcp_probe(struct sock *sk, struct sk_buff *skb) in handle_tcp_probe() 50 static int handle_tcp_rcv_space_adjust(void *ctx, struct sock *sk) in handle_tcp_rcv_space_adjust() 99 static int handle_tcp_destroy_sock(void *ctx, struct sock *sk) in handle_tcp_destroy_sock() 108 int BPF_PROG(tcp_probe_btf, struct sock *sk, struct sk_buff *skb) in BPF_PROG() 114 int BPF_PROG(tcp_rcv_space_adjust_btf, struct sock *sk) in BPF_PROG() 120 int BPF_PROG(tcp_destroy_sock_btf, struct sock *sk) in BPF_PROG() 126 int BPF_PROG(tcp_probe, struct sock *sk, struct sk_buff *skb) { in BPF_PROG() 131 int BPF_PROG(tcp_rcv_space_adjust, struct sock *sk) in BPF_PROG() 137 int BPF_PROG(tcp_destroy_sock, struct sock *sk) in BPF_PROG()
|
D | tcpsynbl.bpf.c | 23 static int do_entry(struct sock *sk) in do_entry() 43 int BPF_KPROBE(tcp_v4_syn_recv_kprobe, struct sock *sk) in BPF_KPROBE() 49 int BPF_KPROBE(tcp_v6_syn_recv_kprobe, struct sock *sk) in BPF_KPROBE() 55 int BPF_PROG(tcp_v4_syn_recv, struct sock *sk) in BPF_PROG() 61 int BPF_PROG(tcp_v6_syn_recv, struct sock *sk) in BPF_PROG()
|
D | tcpconnect.bpf.c | 67 enter_tcp_connect(struct pt_regs *ctx, struct sock *sk) in enter_tcp_connect() 85 static __always_inline void count_v4(struct sock *sk, __u16 sport, __u16 dport) in count_v4() 100 static __always_inline void count_v6(struct sock *sk, __u16 sport, __u16 dport) in count_v6() 119 trace_v4(struct pt_regs *ctx, pid_t pid, struct sock *sk, __u16 sport, __u16 dport) in trace_v4() 138 trace_v6(struct pt_regs *ctx, pid_t pid, struct sock *sk, __u16 sport, __u16 dport) in trace_v6() 165 struct sock *sk; in exit_tcp_connect() local 203 int BPF_KPROBE(tcp_v4_connect, struct sock *sk) in BPF_KPROBE() 215 int BPF_KPROBE(tcp_v6_connect, struct sock *sk) in BPF_KPROBE()
|
D | tcptracer.bpf.c | 68 fill_tuple(struct tuple_key_t *tuple, struct sock *sk, int family) in fill_tuple() 135 filter_event(struct sock *sk, __u32 uid, __u32 pid) in filter_event() 152 enter_tcp_connect(struct pt_regs *ctx, struct sock *sk) in enter_tcp_connect() 178 struct sock *sk; in exit_tcp_connect() local 204 int BPF_KPROBE(tcp_v4_connect, struct sock *sk) in BPF_KPROBE() 216 int BPF_KPROBE(tcp_v6_connect, struct sock *sk) in BPF_KPROBE() 228 int BPF_KPROBE(entry_trace_close, struct sock *sk) in BPF_KPROBE() 265 int BPF_KPROBE(enter_tcp_set_state, struct sock *sk, int state) in BPF_KPROBE() 300 int BPF_KRETPROBE(exit_inet_csk_accept, struct sock *sk) in BPF_KRETPROBE()
|
/external/ltp/utils/sctp/testlib/ |
D | sctputil.h | 135 int sk = socket(domain, type, protocol); in test_socket() local 148 static inline int test_bind(int sk, struct sockaddr *addr, socklen_t addrlen) in test_bind() 158 static inline int test_bindx_add(int sk, struct sockaddr *addr, int count) in test_bindx_add() 168 static inline int test_listen(int sk, int backlog) in test_listen() 178 static inline int test_connect(int sk, struct sockaddr *addr, socklen_t addrlen) in test_connect() 188 static inline int test_connectx(int sk, struct sockaddr *addr, int count) in test_connectx() 198 static inline int test_accept(int sk, struct sockaddr *addr, socklen_t *addrlen) in test_accept() 208 static inline int test_send(int sk, const void *msg, size_t len, int flags) in test_send() 218 static inline int test_sendto(int sk, const void *msg, size_t len, int flags, in test_sendto() 229 static inline int test_sendmsg(int sk, const struct msghdr *msg, int flags, in test_sendmsg() [all …]
|
/external/linux-kselftest/tools/testing/selftests/bpf/progs/ |
D | tcp_ca_write_sk_pacing.c | 14 static inline struct tcp_sock *tcp_sk(const struct sock *sk) in tcp_sk() 20 void BPF_PROG(write_sk_pacing_init, struct sock *sk) in BPF_PROG() 31 void BPF_PROG(write_sk_pacing_cong_control, struct sock *sk, in BPF_PROG() 42 __u32 BPF_PROG(write_sk_pacing_ssthresh, struct sock *sk) in BPF_PROG() 48 __u32 BPF_PROG(write_sk_pacing_undo_cwnd, struct sock *sk) in BPF_PROG()
|
D | bpf_dctcp.c | 61 void BPF_PROG(dctcp_init, struct sock *sk) in BPF_PROG() 108 __u32 BPF_PROG(dctcp_ssthresh, struct sock *sk) in BPF_PROG() 118 void BPF_PROG(dctcp_update_alpha, struct sock *sk, __u32 flags) in BPF_PROG() 147 static __always_inline void dctcp_react_to_loss(struct sock *sk) in dctcp_react_to_loss() 157 void BPF_PROG(dctcp_state, struct sock *sk, __u8 new_state) in BPF_PROG() 167 static __always_inline void dctcp_ece_ack_cwr(struct sock *sk, __u32 ce_state) in dctcp_ece_ack_cwr() 183 void dctcp_ece_ack_update(struct sock *sk, enum tcp_ca_event evt, in dctcp_ece_ack_update() 205 void BPF_PROG(dctcp_cwnd_event, struct sock *sk, enum tcp_ca_event ev) in BPF_PROG() 224 __u32 BPF_PROG(dctcp_cwnd_undo, struct sock *sk) in BPF_PROG() 234 void BPF_PROG(dctcp_cong_avoid, struct sock *sk, __u32 ack, __u32 acked) in BPF_PROG()
|
D | test_sk_lookup_kern.c | 62 struct bpf_sock *sk; in sk_lookup_success() local 85 struct bpf_sock *sk; in sk_lookup_success_simple() local 97 struct bpf_sock *sk; in err_use_after_free() local 112 struct bpf_sock *sk; in err_modify_sk_pointer() local 127 struct bpf_sock *sk; in err_modify_sk_or_null_pointer() local 150 struct bpf_sock *sk; in err_release_twice() local 162 struct bpf_sock *sk; in err_release_unchecked() local
|
D | test_sk_storage_tracing.c | 33 int BPF_PROG(trace_inet_sock_set_state, struct sock *sk, int oldstate, in BPF_PROG() 53 static void set_task_info(struct sock *sk) in set_task_info() 71 int BPF_PROG(trace_inet_csk_listen_start, struct sock *sk) in BPF_PROG() 79 int BPF_PROG(trace_tcp_connect, struct sock *sk) in BPF_PROG() 87 int BPF_PROG(inet_csk_accept, struct sock *sk, int flags, int *err, bool kern, in BPF_PROG()
|
D | tcp_ca_incompl_cong_ops.c | 10 static inline struct tcp_sock *tcp_sk(const struct sock *sk) in tcp_sk() 16 __u32 BPF_PROG(incompl_cong_ops_ssthresh, struct sock *sk) in BPF_PROG() 22 __u32 BPF_PROG(incompl_cong_ops_undo_cwnd, struct sock *sk) in BPF_PROG()
|
D | test_sk_lookup.c | 111 struct bpf_sock *sk; in redir_port() local 130 struct bpf_sock *sk; in redir_ip4() local 153 struct bpf_sock *sk; in redir_ip6() local 178 struct bpf_sock *sk; in select_sock_a() local 193 struct bpf_sock *sk; in select_sock_a_no_reuseport() local 219 struct bpf_sock *sk; in sk_assign_eexist() local 252 struct bpf_sock *sk; in sk_assign_replace_flag() local 284 struct bpf_sock *sk = NULL; in sk_assign_null() local 393 struct bpf_sock *sk; in ctx_narrow_access() local 578 struct bpf_sock *sk; in sk_assign_esocknosupport() local [all …]
|
D | setget_sockopt.c | 80 struct sock *sk; member 83 static int bpf_test_sockopt_flip(void *ctx, struct sock *sk, in bpf_test_sockopt_flip() 110 static int bpf_test_sockopt_int(void *ctx, struct sock *sk, in bpf_test_sockopt_int() 195 struct sock *sk; in bpf_test_tcp_sockopt() local 243 static int bpf_test_sockopt(void *ctx, struct sock *sk) in bpf_test_sockopt() 315 static int test_tcp_maxseg(void *ctx, struct sock *sk) in test_tcp_maxseg() 330 static int test_tcp_saved_syn(void *ctx, struct sock *sk) in test_tcp_saved_syn() 347 struct sock *sk = sock->sk; in BPF_PROG() local 362 struct sock *sk; in skops_sockopt() local
|
D | bpf_cubic.c | 156 static __always_inline __u32 bictcp_clock_us(const struct sock *sk) in bictcp_clock_us() 161 static __always_inline void bictcp_hystart_reset(struct sock *sk) in bictcp_hystart_reset() 174 void BPF_PROG(bpf_cubic_init, struct sock *sk) in BPF_PROG() 189 void BPF_PROG(bpf_cubic_cwnd_event, struct sock *sk, enum tcp_ca_event event) in BPF_PROG() 381 void BPF_STRUCT_OPS(bpf_cubic_cong_avoid, struct sock *sk, __u32 ack, __u32 acked) in BPF_STRUCT_OPS() 400 __u32 BPF_STRUCT_OPS(bpf_cubic_recalc_ssthresh, struct sock *sk) in BPF_STRUCT_OPS() 417 void BPF_STRUCT_OPS(bpf_cubic_state, struct sock *sk, __u8 new_state) in BPF_STRUCT_OPS() 436 static __always_inline __u32 hystart_ack_delay(struct sock *sk) in hystart_ack_delay() 447 static __always_inline void hystart_update(struct sock *sk, __u32 delay) in hystart_update() 493 void BPF_STRUCT_OPS(bpf_cubic_acked, struct sock *sk, in BPF_STRUCT_OPS() [all …]
|
D | test_sock_fields.c | 127 struct bpf_sock *sk, *sk_ret; in egress_read_sock_fields() local 222 struct bpf_sock *sk; in ingress_read_sock_fields() local 260 static __noinline bool sk_dst_port__load_word(struct bpf_sock *sk) in sk_dst_port__load_word() 266 static __noinline bool sk_dst_port__load_half(struct bpf_sock *sk) in sk_dst_port__load_half() 272 static __noinline bool sk_dst_port__load_byte(struct bpf_sock *sk) in sk_dst_port__load_byte() 282 struct bpf_sock *sk; in read_sk_dst_port() local
|
/external/cronet/tot/third_party/boringssl/src/crypto/spx/ |
D | spx_test.cc | 50 uint8_t sk[4 * SPX_N]; in TEST() local 78 uint8_t sk[4 * SPX_N]; in TEST() local 86 uint8_t sk[4 * SPX_N]; in TEST() local 118 std::vector<uint8_t> message, sk, expected_signature; in SpxFileDeterministicTest() local
|