Searched refs:ipc (Results 1 – 8 of 8) sorted by relevance
/net/qrtr/ |
D | qrtr.c | 335 static void qrtr_port_put(struct qrtr_sock *ipc); 349 struct qrtr_sock *ipc; in qrtr_node_rx_work() local 361 ipc = qrtr_port_lookup(dst_port); in qrtr_node_rx_work() 362 if (!ipc) { in qrtr_node_rx_work() 365 if (sock_queue_rcv_skb(&ipc->sk, skb)) in qrtr_node_rx_work() 368 qrtr_port_put(ipc); in qrtr_node_rx_work() 447 struct qrtr_sock *ipc; in qrtr_port_lookup() local 453 ipc = idr_find(&qrtr_ports, port); in qrtr_port_lookup() 454 if (ipc) in qrtr_port_lookup() 455 sock_hold(&ipc->sk); in qrtr_port_lookup() [all …]
|
/net/ipv4/ |
D | raw.c | 506 struct ipcm_cookie ipc; in raw_sendmsg() local 562 ipc.sockc.tsflags = sk->sk_tsflags; in raw_sendmsg() 563 ipc.addr = inet->inet_saddr; in raw_sendmsg() 564 ipc.opt = NULL; in raw_sendmsg() 565 ipc.tx_flags = 0; in raw_sendmsg() 566 ipc.ttl = 0; in raw_sendmsg() 567 ipc.tos = -1; in raw_sendmsg() 568 ipc.oif = sk->sk_bound_dev_if; in raw_sendmsg() 571 err = ip_cmsg_send(sk, msg, &ipc, false); in raw_sendmsg() 573 kfree(ipc.opt); in raw_sendmsg() [all …]
|
D | ping.c | 706 struct ipcm_cookie ipc; in ping_v4_sendmsg() local 742 ipc.sockc.tsflags = sk->sk_tsflags; in ping_v4_sendmsg() 743 ipc.addr = inet->inet_saddr; in ping_v4_sendmsg() 744 ipc.opt = NULL; in ping_v4_sendmsg() 745 ipc.oif = sk->sk_bound_dev_if; in ping_v4_sendmsg() 746 ipc.tx_flags = 0; in ping_v4_sendmsg() 747 ipc.ttl = 0; in ping_v4_sendmsg() 748 ipc.tos = -1; in ping_v4_sendmsg() 751 err = ip_cmsg_send(sk, msg, &ipc, false); in ping_v4_sendmsg() 753 kfree(ipc.opt); in ping_v4_sendmsg() [all …]
|
D | icmp.c | 370 struct ipcm_cookie *ipc, struct rtable **rt) in icmp_push_reply() argument 379 ipc, rt, MSG_DONTWAIT) < 0) { in icmp_push_reply() 405 struct ipcm_cookie ipc; in icmp_reply() local 435 daddr = ipc.addr = ip_hdr(skb)->saddr; in icmp_reply() 437 ipc.opt = NULL; in icmp_reply() 438 ipc.tx_flags = 0; in icmp_reply() 439 ipc.ttl = 0; in icmp_reply() 440 ipc.tos = -1; in icmp_reply() 443 ipc.opt = &icmp_param->replyopts.opt; in icmp_reply() 444 if (ipc.opt->opt.srr) in icmp_reply() [all …]
|
D | udp.c | 877 struct ipcm_cookie ipc; in udp_sendmsg() local 900 ipc.opt = NULL; in udp_sendmsg() 901 ipc.tx_flags = 0; in udp_sendmsg() 902 ipc.ttl = 0; in udp_sendmsg() 903 ipc.tos = -1; in udp_sendmsg() 952 ipc.sockc.tsflags = sk->sk_tsflags; in udp_sendmsg() 953 ipc.addr = inet->inet_saddr; in udp_sendmsg() 954 ipc.oif = sk->sk_bound_dev_if; in udp_sendmsg() 957 err = ip_cmsg_send(sk, msg, &ipc, sk->sk_family == AF_INET6); in udp_sendmsg() 959 kfree(ipc.opt); in udp_sendmsg() [all …]
|
D | ip_output.c | 1103 struct ipcm_cookie *ipc, struct rtable **rtp) in ip_setup_cork() argument 1111 opt = ipc->opt; in ip_setup_cork() 1121 cork->addr = ipc->addr; in ip_setup_cork() 1138 cork->ttl = ipc->ttl; in ip_setup_cork() 1139 cork->tos = ipc->tos; in ip_setup_cork() 1140 cork->priority = ipc->priority; in ip_setup_cork() 1141 cork->tx_flags = ipc->tx_flags; in ip_setup_cork() 1161 struct ipcm_cookie *ipc, struct rtable **rtp, in ip_append_data() argument 1171 err = ip_setup_cork(sk, &inet->cork.base, ipc, rtp); in ip_append_data() 1470 struct ipcm_cookie *ipc, struct rtable **rtp, in ip_make_skb() argument [all …]
|
D | ip_sockglue.c | 240 int ip_cmsg_send(struct sock *sk, struct msghdr *msg, struct ipcm_cookie *ipc, in ip_cmsg_send() argument 262 ipc->oif = src_info->ipi6_ifindex; in ip_cmsg_send() 263 ipc->addr = src_info->ipi6_addr.s6_addr32[3]; in ip_cmsg_send() 268 err = __sock_cmsg_send(sk, msg, cmsg, &ipc->sockc); in ip_cmsg_send() 281 err = ip_options_get(net, &ipc->opt, CMSG_DATA(cmsg), in ip_cmsg_send() 293 ipc->oif = info->ipi_ifindex; in ip_cmsg_send() 294 ipc->addr = info->ipi_spec_dst.s_addr; in ip_cmsg_send() 303 ipc->ttl = val; in ip_cmsg_send() 314 ipc->tos = val; in ip_cmsg_send() 315 ipc->priority = rt_tos2priority(ipc->tos); in ip_cmsg_send()
|
/net/iucv/ |
D | iucv.c | 1547 struct iucv_path_complete *ipc = (void *) data; in iucv_path_complete() local 1548 struct iucv_path *path = iucv_path_table[ipc->ippathid]; in iucv_path_complete() 1551 path->flags = ipc->ipflags1; in iucv_path_complete() 1553 path->handler->path_complete(path, ipc->ipuser); in iucv_path_complete()
|