Lines Matching refs:ipc
437 struct ipcm_cookie ipc; in udp_sendmsg() local
494 ipc.addr = sk->saddr; in udp_sendmsg()
497 ipc.opt = NULL; in udp_sendmsg()
498 ipc.oif = sk->bound_dev_if; in udp_sendmsg()
500 err = ip_cmsg_send(msg, &ipc); in udp_sendmsg()
503 if (ipc.opt) in udp_sendmsg()
507 if (!ipc.opt) in udp_sendmsg()
508 ipc.opt = sk->protinfo.af_inet.opt; in udp_sendmsg()
510 ufh.saddr = ipc.addr; in udp_sendmsg()
511 ipc.addr = daddr = ufh.daddr; in udp_sendmsg()
513 if (ipc.opt && ipc.opt->srr) { in udp_sendmsg()
516 daddr = ipc.opt->faddr; in udp_sendmsg()
521 (ipc.opt && ipc.opt->is_strictroute)) { in udp_sendmsg()
527 if (!ipc.oif) in udp_sendmsg()
528 ipc.oif = sk->protinfo.af_inet.mc_index; in udp_sendmsg()
538 err = ip_route_output(&rt, daddr, ufh.saddr, tos, ipc.oif); in udp_sendmsg()
554 if (!ipc.addr) in udp_sendmsg()
555 ufh.daddr = ipc.addr = rt->rt_dst; in udp_sendmsg()
569 &ufh, ulen, &ipc, rt, msg->msg_flags); in udp_sendmsg()
574 kfree(ipc.opt); in udp_sendmsg()