iif 192 drivers/staging/isdn/gigaset/capi.c get_appl(struct gigaset_capi_ctr *iif, u16 appl) iif 196 drivers/staging/isdn/gigaset/capi.c list_for_each_entry(ap, &iif->appls, ctrlist) iif 370 drivers/staging/isdn/gigaset/capi.c struct gigaset_capi_ctr *iif = cs->iif; iif 395 drivers/staging/isdn/gigaset/capi.c send_data_b3_conf(cs, &iif->ctr, ap->id, CAPIMSG_MSGID(req), iif 415 drivers/staging/isdn/gigaset/capi.c struct gigaset_capi_ctr *iif = cs->iif; iif 446 drivers/staging/isdn/gigaset/capi.c CAPIMSG_SETCONTROLLER(skb->data, iif->ctr.cnr); iif 457 drivers/staging/isdn/gigaset/capi.c capi_ctr_handle_message(&iif->ctr, ap->id, skb); iif 496 drivers/staging/isdn/gigaset/capi.c struct gigaset_capi_ctr *iif = cs->iif; iif 514 drivers/staging/isdn/gigaset/capi.c capi_cmsg_header(&iif->hcmsg, 0, CAPI_CONNECT, CAPI_IND, 0, iif 515 drivers/staging/isdn/gigaset/capi.c iif->ctr.cnr | ((bcs->channel + 1) << 8)); iif 523 drivers/staging/isdn/gigaset/capi.c if (encode_ie(at_state->str_var[STR_ZBC], iif->bc_buf, iif 531 drivers/staging/isdn/gigaset/capi.c iif->hcmsg.CIPValue = 0; /* default if nothing found */ iif 537 drivers/staging/isdn/gigaset/capi.c iif->hcmsg.CIPValue = i; iif 542 drivers/staging/isdn/gigaset/capi.c iif->hcmsg.CIPValue = 1; iif 543 drivers/staging/isdn/gigaset/capi.c encode_ie(cip2bchlc[1].bc, iif->bc_buf, MAX_BC_OCTETS); iif 545 drivers/staging/isdn/gigaset/capi.c iif->hcmsg.BC = iif->bc_buf; iif 546 drivers/staging/isdn/gigaset/capi.c msgsize += iif->hcmsg.BC[0]; iif 551 drivers/staging/isdn/gigaset/capi.c if (encode_ie(at_state->str_var[STR_ZHLC], iif->hlc_buf, iif 557 drivers/staging/isdn/gigaset/capi.c iif->hcmsg.HLC = iif->hlc_buf; iif 558 drivers/staging/isdn/gigaset/capi.c msgsize += iif->hcmsg.HLC[0]; iif 569 drivers/staging/isdn/gigaset/capi.c iif->hcmsg.CIPValue = i; iif 582 drivers/staging/isdn/gigaset/capi.c iif->cdpty_buf[0] = i + 1; iif 583 drivers/staging/isdn/gigaset/capi.c iif->cdpty_buf[1] = 0x80; /* type / numbering plan unknown */ iif 584 drivers/staging/isdn/gigaset/capi.c memcpy(iif->cdpty_buf + 2, at_state->str_var[STR_ZCPN], i); iif 585 drivers/staging/isdn/gigaset/capi.c iif->hcmsg.CalledPartyNumber = iif->cdpty_buf; iif 586 drivers/staging/isdn/gigaset/capi.c msgsize += iif->hcmsg.CalledPartyNumber[0]; iif 597 drivers/staging/isdn/gigaset/capi.c iif->cgpty_buf[0] = i + 2; iif 598 drivers/staging/isdn/gigaset/capi.c iif->cgpty_buf[1] = 0x00; /* type / numbering plan unknown */ iif 599 drivers/staging/isdn/gigaset/capi.c iif->cgpty_buf[2] = 0x80; /* pres. allowed, not screened */ iif 600 drivers/staging/isdn/gigaset/capi.c memcpy(iif->cgpty_buf + 3, at_state->str_var[STR_NMBR], i); iif 601 drivers/staging/isdn/gigaset/capi.c iif->hcmsg.CallingPartyNumber = iif->cgpty_buf; iif 602 drivers/staging/isdn/gigaset/capi.c msgsize += iif->hcmsg.CallingPartyNumber[0]; iif 616 drivers/staging/isdn/gigaset/capi.c iif->hcmsg.adr.adrPLCI, iif->hcmsg.CIPValue, iif 617 drivers/staging/isdn/gigaset/capi.c format_ie(iif->hcmsg.BC)); iif 619 drivers/staging/isdn/gigaset/capi.c format_ie(iif->hcmsg.HLC)); iif 621 drivers/staging/isdn/gigaset/capi.c format_ie(iif->hcmsg.CallingPartyNumber)); iif 623 drivers/staging/isdn/gigaset/capi.c format_ie(iif->hcmsg.CalledPartyNumber)); iif 634 drivers/staging/isdn/gigaset/capi.c actCIPmask = 1 | (1 << iif->hcmsg.CIPValue); iif 635 drivers/staging/isdn/gigaset/capi.c list_for_each_entry(ap, &iif->appls, ctrlist) iif 638 drivers/staging/isdn/gigaset/capi.c iif->hcmsg.ApplId = ap->id; iif 639 drivers/staging/isdn/gigaset/capi.c iif->hcmsg.Messagenumber = ap->nextMessageNumber++; iif 647 drivers/staging/isdn/gigaset/capi.c if (capi_cmsg2message(&iif->hcmsg, iif 654 drivers/staging/isdn/gigaset/capi.c dump_cmsg(DEBUG_CMD, __func__, &iif->hcmsg); iif 665 drivers/staging/isdn/gigaset/capi.c capi_ctr_handle_message(&iif->ctr, ap->id, skb); iif 684 drivers/staging/isdn/gigaset/capi.c struct gigaset_capi_ctr *iif = cs->iif; iif 690 drivers/staging/isdn/gigaset/capi.c capi_cmsg_header(&iif->hcmsg, ap->id, CAPI_DISCONNECT, CAPI_IND, iif 692 drivers/staging/isdn/gigaset/capi.c iif->ctr.cnr | ((bcs->channel + 1) << 8)); iif 693 drivers/staging/isdn/gigaset/capi.c iif->hcmsg.Reason = reason; iif 699 drivers/staging/isdn/gigaset/capi.c if (capi_cmsg2message(&iif->hcmsg, iif 705 drivers/staging/isdn/gigaset/capi.c dump_cmsg(DEBUG_CMD, __func__, &iif->hcmsg); iif 706 drivers/staging/isdn/gigaset/capi.c capi_ctr_handle_message(&iif->ctr, ap->id, skb); iif 718 drivers/staging/isdn/gigaset/capi.c struct gigaset_capi_ctr *iif = cs->iif; iif 726 drivers/staging/isdn/gigaset/capi.c capi_cmsg_header(&iif->hcmsg, ap->id, CAPI_DISCONNECT_B3, CAPI_IND, iif 728 drivers/staging/isdn/gigaset/capi.c iif->ctr.cnr | ((bcs->channel + 1) << 8) | (1 << 16)); iif 734 drivers/staging/isdn/gigaset/capi.c if (capi_cmsg2message(&iif->hcmsg, iif 740 drivers/staging/isdn/gigaset/capi.c dump_cmsg(DEBUG_CMD, __func__, &iif->hcmsg); iif 741 drivers/staging/isdn/gigaset/capi.c capi_ctr_handle_message(&iif->ctr, ap->id, skb); iif 754 drivers/staging/isdn/gigaset/capi.c struct gigaset_capi_ctr *iif = cs->iif; iif 786 drivers/staging/isdn/gigaset/capi.c capi_cmsg_header(&iif->hcmsg, ap->id, CAPI_CONNECT_ACTIVE, CAPI_IND, iif 788 drivers/staging/isdn/gigaset/capi.c iif->ctr.cnr | ((bcs->channel + 1) << 8)); iif 804 drivers/staging/isdn/gigaset/capi.c if (capi_cmsg2message(&iif->hcmsg, __skb_put(skb, msgsize))) { iif 809 drivers/staging/isdn/gigaset/capi.c dump_cmsg(DEBUG_CMD, __func__, &iif->hcmsg); iif 810 drivers/staging/isdn/gigaset/capi.c capi_ctr_handle_message(&iif->ctr, ap->id, skb); iif 853 drivers/staging/isdn/gigaset/capi.c struct gigaset_capi_ctr *iif = cs->iif; iif 900 drivers/staging/isdn/gigaset/capi.c capi_cmsg_header(&iif->hcmsg, ap->id, command, CAPI_IND, iif 902 drivers/staging/isdn/gigaset/capi.c iif->ctr.cnr | ((bcs->channel + 1) << 8) | (1 << 16)); iif 908 drivers/staging/isdn/gigaset/capi.c if (capi_cmsg2message(&iif->hcmsg, __skb_put(skb, msgsize))) { iif 913 drivers/staging/isdn/gigaset/capi.c dump_cmsg(DEBUG_CMD, __func__, &iif->hcmsg); iif 914 drivers/staging/isdn/gigaset/capi.c capi_ctr_handle_message(&iif->ctr, ap->id, skb); iif 947 drivers/staging/isdn/gigaset/capi.c struct gigaset_capi_ctr *iif = cs->iif; iif 950 drivers/staging/isdn/gigaset/capi.c strcpy(iif->ctr.manu, "Siemens"); iif 952 drivers/staging/isdn/gigaset/capi.c iif->ctr.version.majorversion = 2; /* CAPI 2.0 */ iif 953 drivers/staging/isdn/gigaset/capi.c iif->ctr.version.minorversion = 0; iif 955 drivers/staging/isdn/gigaset/capi.c iif->ctr.version.majormanuversion = cs->fwver[0]; iif 956 drivers/staging/isdn/gigaset/capi.c iif->ctr.version.minormanuversion = cs->fwver[1]; iif 958 drivers/staging/isdn/gigaset/capi.c iif->ctr.profile.nbchannel = cs->channels; iif 960 drivers/staging/isdn/gigaset/capi.c iif->ctr.profile.goptions = 0x11; iif 962 drivers/staging/isdn/gigaset/capi.c iif->ctr.profile.support1 = 0x03; iif 965 drivers/staging/isdn/gigaset/capi.c iif->ctr.profile.support2 = 0x02; iif 967 drivers/staging/isdn/gigaset/capi.c iif->ctr.profile.support3 = 0x01; iif 969 drivers/staging/isdn/gigaset/capi.c strcpy(iif->ctr.serial, "0"); iif 970 drivers/staging/isdn/gigaset/capi.c capi_ctr_ready(&iif->ctr); iif 982 drivers/staging/isdn/gigaset/capi.c struct gigaset_capi_ctr *iif = cs->iif; iif 983 drivers/staging/isdn/gigaset/capi.c capi_ctr_down(&iif->ctr); iif 997 drivers/staging/isdn/gigaset/capi.c struct gigaset_capi_ctr *iif iif 1005 drivers/staging/isdn/gigaset/capi.c list_for_each_entry(ap, &iif->appls, ctrlist) iif 1020 drivers/staging/isdn/gigaset/capi.c list_add(&ap->ctrlist, &iif->appls); iif 1084 drivers/staging/isdn/gigaset/capi.c struct gigaset_capi_ctr *iif iif 1086 drivers/staging/isdn/gigaset/capi.c struct cardstate *cs = iif->ctr.driverdata; iif 1092 drivers/staging/isdn/gigaset/capi.c list_for_each_entry_safe(ap, tmp, &iif->appls, ctrlist) iif 1114 drivers/staging/isdn/gigaset/capi.c static void send_conf(struct gigaset_capi_ctr *iif, iif 1119 drivers/staging/isdn/gigaset/capi.c struct cardstate *cs = iif->ctr.driverdata; iif 1125 drivers/staging/isdn/gigaset/capi.c capi_cmsg_answer(&iif->acmsg); iif 1126 drivers/staging/isdn/gigaset/capi.c iif->acmsg.Info = info; iif 1127 drivers/staging/isdn/gigaset/capi.c if (capi_cmsg2message(&iif->acmsg, skb->data)) { iif 1133 drivers/staging/isdn/gigaset/capi.c dump_cmsg(DEBUG_CMD, __func__, &iif->acmsg); iif 1134 drivers/staging/isdn/gigaset/capi.c capi_ctr_handle_message(&iif->ctr, ap->id, skb); iif 1140 drivers/staging/isdn/gigaset/capi.c static void do_facility_req(struct gigaset_capi_ctr *iif, iif 1144 drivers/staging/isdn/gigaset/capi.c struct cardstate *cs = iif->ctr.driverdata; iif 1145 drivers/staging/isdn/gigaset/capi.c _cmsg *cmsg = &iif->acmsg; iif 1185 drivers/staging/isdn/gigaset/capi.c send_conf(iif, ap, skb, CapiIllMessageParmCoding); iif 1203 drivers/staging/isdn/gigaset/capi.c send_conf(iif, ap, skb, iif 1272 drivers/staging/isdn/gigaset/capi.c capi_ctr_handle_message(&iif->ctr, ap->id, cskb); iif 1280 drivers/staging/isdn/gigaset/capi.c static void do_listen_req(struct gigaset_capi_ctr *iif, iif 1284 drivers/staging/isdn/gigaset/capi.c struct cardstate *cs = iif->ctr.driverdata; iif 1287 drivers/staging/isdn/gigaset/capi.c if (capi_message2cmsg(&iif->acmsg, skb->data)) { iif 1292 drivers/staging/isdn/gigaset/capi.c dump_cmsg(DEBUG_CMD, __func__, &iif->acmsg); iif 1295 drivers/staging/isdn/gigaset/capi.c ap->listenInfoMask = iif->acmsg.InfoMask; iif 1296 drivers/staging/isdn/gigaset/capi.c ap->listenCIPmask = iif->acmsg.CIPmask; iif 1297 drivers/staging/isdn/gigaset/capi.c send_conf(iif, ap, skb, CapiSuccess); iif 1304 drivers/staging/isdn/gigaset/capi.c static void do_alert_req(struct gigaset_capi_ctr *iif, iif 1308 drivers/staging/isdn/gigaset/capi.c struct cardstate *cs = iif->ctr.driverdata; iif 1311 drivers/staging/isdn/gigaset/capi.c if (capi_message2cmsg(&iif->acmsg, skb->data)) { iif 1316 drivers/staging/isdn/gigaset/capi.c dump_cmsg(DEBUG_CMD, __func__, &iif->acmsg); iif 1317 drivers/staging/isdn/gigaset/capi.c send_conf(iif, ap, skb, CapiAlertAlreadySent); iif 1325 drivers/staging/isdn/gigaset/capi.c static void do_connect_req(struct gigaset_capi_ctr *iif, iif 1329 drivers/staging/isdn/gigaset/capi.c struct cardstate *cs = iif->ctr.driverdata; iif 1330 drivers/staging/isdn/gigaset/capi.c _cmsg *cmsg = &iif->acmsg; iif 1352 drivers/staging/isdn/gigaset/capi.c send_conf(iif, ap, skb, CapiNoPlciAvailable); iif 1600 drivers/staging/isdn/gigaset/capi.c send_conf(iif, ap, skb, CapiSuccess); iif 1612 drivers/staging/isdn/gigaset/capi.c send_conf(iif, ap, skb, info); iif 1619 drivers/staging/isdn/gigaset/capi.c static void do_connect_resp(struct gigaset_capi_ctr *iif, iif 1623 drivers/staging/isdn/gigaset/capi.c struct cardstate *cs = iif->ctr.driverdata; iif 1624 drivers/staging/isdn/gigaset/capi.c _cmsg *cmsg = &iif->acmsg; iif 1791 drivers/staging/isdn/gigaset/capi.c static void do_connect_b3_req(struct gigaset_capi_ctr *iif, iif 1795 drivers/staging/isdn/gigaset/capi.c struct cardstate *cs = iif->ctr.driverdata; iif 1796 drivers/staging/isdn/gigaset/capi.c _cmsg *cmsg = &iif->acmsg; iif 1813 drivers/staging/isdn/gigaset/capi.c send_conf(iif, ap, skb, CapiIllContrPlciNcci); iif 1826 drivers/staging/isdn/gigaset/capi.c send_conf(iif, ap, skb, iif 1838 drivers/staging/isdn/gigaset/capi.c static void do_connect_b3_resp(struct gigaset_capi_ctr *iif, iif 1842 drivers/staging/isdn/gigaset/capi.c struct cardstate *cs = iif->ctr.driverdata; iif 1843 drivers/staging/isdn/gigaset/capi.c _cmsg *cmsg = &iif->acmsg; iif 1900 drivers/staging/isdn/gigaset/capi.c capi_ctr_handle_message(&iif->ctr, ap->id, skb); iif 1908 drivers/staging/isdn/gigaset/capi.c static void do_disconnect_req(struct gigaset_capi_ctr *iif, iif 1912 drivers/staging/isdn/gigaset/capi.c struct cardstate *cs = iif->ctr.driverdata; iif 1913 drivers/staging/isdn/gigaset/capi.c _cmsg *cmsg = &iif->acmsg; iif 1932 drivers/staging/isdn/gigaset/capi.c send_conf(iif, ap, skb, CapiIllContrPlciNcci); iif 1966 drivers/staging/isdn/gigaset/capi.c send_conf(iif, ap, skb, CAPI_MSGOSRESOURCEERR); iif 1976 drivers/staging/isdn/gigaset/capi.c send_conf(iif, ap, skb, CAPI_MSGOSRESOURCEERR); iif 1990 drivers/staging/isdn/gigaset/capi.c capi_ctr_handle_message(&iif->ctr, ap->id, b3skb); iif 1995 drivers/staging/isdn/gigaset/capi.c send_conf(iif, ap, skb, CAPI_MSGOSRESOURCEERR); iif 2001 drivers/staging/isdn/gigaset/capi.c send_conf(iif, ap, skb, CapiSuccess); iif 2008 drivers/staging/isdn/gigaset/capi.c static void do_disconnect_b3_req(struct gigaset_capi_ctr *iif, iif 2012 drivers/staging/isdn/gigaset/capi.c struct cardstate *cs = iif->ctr.driverdata; iif 2013 drivers/staging/isdn/gigaset/capi.c _cmsg *cmsg = &iif->acmsg; iif 2031 drivers/staging/isdn/gigaset/capi.c send_conf(iif, ap, skb, CapiIllContrPlciNcci); iif 2038 drivers/staging/isdn/gigaset/capi.c send_conf(iif, ap, skb, iif 2045 drivers/staging/isdn/gigaset/capi.c send_conf(iif, ap, skb, CAPI_MSGOSRESOURCEERR); iif 2053 drivers/staging/isdn/gigaset/capi.c send_conf(iif, ap, skb, iif 2061 drivers/staging/isdn/gigaset/capi.c static void do_data_b3_req(struct gigaset_capi_ctr *iif, iif 2065 drivers/staging/isdn/gigaset/capi.c struct cardstate *cs = iif->ctr.driverdata; iif 2082 drivers/staging/isdn/gigaset/capi.c send_conf(iif, ap, skb, CapiIllContrPlciNcci); iif 2094 drivers/staging/isdn/gigaset/capi.c send_conf(iif, ap, skb, CapiIllMessageParmCoding); /* ? */ iif 2100 drivers/staging/isdn/gigaset/capi.c send_conf(iif, ap, skb, CapiIllMessageParmCoding); iif 2106 drivers/staging/isdn/gigaset/capi.c send_conf(iif, ap, skb, CapiMessageNotSupportedInCurrentState); iif 2117 drivers/staging/isdn/gigaset/capi.c send_conf(iif, ap, skb, CAPI_MSGOSRESOURCEERR); iif 2126 drivers/staging/isdn/gigaset/capi.c send_data_b3_conf(cs, &iif->ctr, ap->id, msgid, channel, handle, iif 2135 drivers/staging/isdn/gigaset/capi.c static void do_reset_b3_req(struct gigaset_capi_ctr *iif, iif 2139 drivers/staging/isdn/gigaset/capi.c struct cardstate *cs = iif->ctr.driverdata; iif 2142 drivers/staging/isdn/gigaset/capi.c if (capi_message2cmsg(&iif->acmsg, skb->data)) { iif 2147 drivers/staging/isdn/gigaset/capi.c dump_cmsg(DEBUG_CMD, __func__, &iif->acmsg); iif 2148 drivers/staging/isdn/gigaset/capi.c send_conf(iif, ap, skb, iif 2155 drivers/staging/isdn/gigaset/capi.c static void do_unsupported(struct gigaset_capi_ctr *iif, iif 2159 drivers/staging/isdn/gigaset/capi.c struct cardstate *cs = iif->ctr.driverdata; iif 2162 drivers/staging/isdn/gigaset/capi.c if (capi_message2cmsg(&iif->acmsg, skb->data)) { iif 2167 drivers/staging/isdn/gigaset/capi.c dump_cmsg(DEBUG_CMD, __func__, &iif->acmsg); iif 2168 drivers/staging/isdn/gigaset/capi.c send_conf(iif, ap, skb, CapiMessageNotSupportedInCurrentState); iif 2174 drivers/staging/isdn/gigaset/capi.c static void do_nothing(struct gigaset_capi_ctr *iif, iif 2178 drivers/staging/isdn/gigaset/capi.c struct cardstate *cs = iif->ctr.driverdata; iif 2181 drivers/staging/isdn/gigaset/capi.c if (capi_message2cmsg(&iif->acmsg, skb->data)) { iif 2186 drivers/staging/isdn/gigaset/capi.c dump_cmsg(DEBUG_CMD, __func__, &iif->acmsg); iif 2190 drivers/staging/isdn/gigaset/capi.c static void do_data_b3_resp(struct gigaset_capi_ctr *iif, iif 2267 drivers/staging/isdn/gigaset/capi.c struct gigaset_capi_ctr *iif iif 2280 drivers/staging/isdn/gigaset/capi.c ap = get_appl(iif, CAPIMSG_APPID(skb->data)); iif 2298 drivers/staging/isdn/gigaset/capi.c if (atomic_add_return(1, &iif->sendqlen) > 1) { iif 2300 drivers/staging/isdn/gigaset/capi.c skb_queue_tail(&iif->sendqueue, skb); iif 2305 drivers/staging/isdn/gigaset/capi.c handler(iif, ap, skb); iif 2308 drivers/staging/isdn/gigaset/capi.c while (atomic_sub_return(1, &iif->sendqlen) > 0) { iif 2309 drivers/staging/isdn/gigaset/capi.c skb = skb_dequeue(&iif->sendqueue); iif 2315 drivers/staging/isdn/gigaset/capi.c ap = get_appl(iif, CAPIMSG_APPID(skb->data)); iif 2329 drivers/staging/isdn/gigaset/capi.c handler(iif, ap, skb); iif 2446 drivers/staging/isdn/gigaset/capi.c struct gigaset_capi_ctr *iif; iif 2449 drivers/staging/isdn/gigaset/capi.c iif = kzalloc(sizeof(*iif), GFP_KERNEL); iif 2450 drivers/staging/isdn/gigaset/capi.c if (!iif) { iif 2456 drivers/staging/isdn/gigaset/capi.c iif->ctr.owner = THIS_MODULE; iif 2457 drivers/staging/isdn/gigaset/capi.c iif->ctr.driverdata = cs; iif 2458 drivers/staging/isdn/gigaset/capi.c strncpy(iif->ctr.name, isdnid, sizeof(iif->ctr.name) - 1); iif 2459 drivers/staging/isdn/gigaset/capi.c iif->ctr.driver_name = "gigaset"; iif 2460 drivers/staging/isdn/gigaset/capi.c iif->ctr.load_firmware = NULL; iif 2461 drivers/staging/isdn/gigaset/capi.c iif->ctr.reset_ctr = NULL; iif 2462 drivers/staging/isdn/gigaset/capi.c iif->ctr.register_appl = gigaset_register_appl; iif 2463 drivers/staging/isdn/gigaset/capi.c iif->ctr.release_appl = gigaset_release_appl; iif 2464 drivers/staging/isdn/gigaset/capi.c iif->ctr.send_message = gigaset_send_message; iif 2465 drivers/staging/isdn/gigaset/capi.c iif->ctr.procinfo = gigaset_procinfo; iif 2466 drivers/staging/isdn/gigaset/capi.c iif->ctr.proc_show = gigaset_proc_show, iif 2467 drivers/staging/isdn/gigaset/capi.c INIT_LIST_HEAD(&iif->appls); iif 2468 drivers/staging/isdn/gigaset/capi.c skb_queue_head_init(&iif->sendqueue); iif 2469 drivers/staging/isdn/gigaset/capi.c atomic_set(&iif->sendqlen, 0); iif 2472 drivers/staging/isdn/gigaset/capi.c rc = attach_capi_ctr(&iif->ctr); iif 2475 drivers/staging/isdn/gigaset/capi.c kfree(iif); iif 2479 drivers/staging/isdn/gigaset/capi.c cs->iif = iif; iif 2490 drivers/staging/isdn/gigaset/capi.c struct gigaset_capi_ctr *iif = cs->iif; iif 2492 drivers/staging/isdn/gigaset/capi.c detach_capi_ctr(&iif->ctr); iif 2493 drivers/staging/isdn/gigaset/capi.c kfree(iif); iif 2494 drivers/staging/isdn/gigaset/capi.c cs->iif = NULL; iif 450 drivers/staging/isdn/gigaset/gigaset.h void *iif; /* LL interface structure */ iif 119 include/linux/ipv6.h int iif; iif 161 include/linux/ipv6.h return l3_slave ? skb->skb_iif : IP6CB(skb)->iif; iif 174 include/linux/ipv6.h return IP6CB(skb)->iif; iif 166 include/net/dn.h int iif; iif 85 include/net/inet6_hashtables.h int iif, int sdif, iif 97 include/net/inet6_hashtables.h iif, sdif, refcounted); iif 55 include/net/inet_frag.h u32 iif; iif 44 include/net/ip.h int iif; iif 105 include/net/ip.h return IPCB(skb)->iif; iif 25 include/net/ipv6_frag.h int iif; iif 79 include/net/ipv6_frag.h dev = dev_get_by_index_rcu(net, fq->iif); iif 469 include/net/sctp/structs.h __be16 port, int iif); iif 904 include/net/tcp.h return TCP_SKB_CB(skb)->header.h6.iif; iif 911 include/net/tcp.h return l3_slave ? skb->skb_iif : TCP_SKB_CB(skb)->header.h6.iif; iif 919 include/net/tcp.h return TCP_SKB_CB(skb)->header.h6.iif; iif 940 include/net/tcp.h return TCP_SKB_CB(skb)->header.h4.iif; iif 24 include/trace/events/fib.h __field( int, iif ) iif 47 include/trace/events/fib.h __entry->iif = flp->flowi4_iif; iif 95 include/trace/events/fib.h __entry->tb_id, __entry->oif, __entry->iif, __entry->proto, iif 24 include/trace/events/fib6.h __field( int, iif ) iif 44 include/trace/events/fib6.h __entry->iif = flp->flowi6_iif; iif 83 include/trace/events/fib6.h __entry->tb_id, __entry->oif, __entry->iif, __entry->proto, iif 4519 net/core/skbuff.c serr->header.h4.iif = skb->dev ? skb->dev->ifindex : 0; iif 647 net/decnet/dn_route.c cb->iif = dev->ifindex; iif 1533 net/decnet/dn_route.c (rt->fld.flowidn_iif == cb->iif)) { iif 1071 net/ipv4/igmp.c dev = dev_get_by_index_rcu(dev_net(dev), IPCB(skb)->iif); iif 66 net/ipv4/ip_fragment.c int iif; iif 169 net/ipv4/ip_fragment.c head->dev = dev_get_by_index_rcu(net, qp->iif); iif 265 net/ipv4/ip_fragment.c qp->iif = 0; iif 348 net/ipv4/ip_fragment.c qp->iif = dev->ifindex; iif 494 net/ipv4/ip_input.c IPCB(skb)->iif = skb->skb_iif; iif 2110 net/ipv4/ipmr.c dev = dev_get_by_index_rcu(net, IPCB(skb)->iif); iif 948 net/ipv4/route.c dev = __dev_get_by_index(dev_net(skb->dev), IPCB(skb)->iif); iif 3091 net/ipv4/route.c u32 iif; iif 3102 net/ipv4/route.c iif = tb[RTA_IIF] ? nla_get_u32(tb[RTA_IIF]) : 0; iif 3107 net/ipv4/route.c uid = (iif ? INVALID_UID : current_uid()); iif 3140 net/ipv4/route.c if (iif) { iif 3143 net/ipv4/route.c dev = dev_get_by_index_rcu(net, iif); iif 3149 net/ipv4/route.c fl4.flowi4_iif = iif; /* for rt_fill_info */ iif 423 net/ipv6/datagram.c if (!IP6CB(skb)->iif) iif 477 net/ipv6/datagram.c IP6CB(skb)->iif); iif 500 net/ipv6/datagram.c IP6CB(skb)->iif); iif 583 net/ipv6/datagram.c src_info.ipi6_ifindex = IP6CB(skb)->iif; iif 676 net/ipv6/datagram.c src_info.ipi6_ifindex = opt->iif; iif 717 net/ipv6/datagram.c opt->iif); iif 437 net/ipv6/icmp.c int iif = 0; iif 483 net/ipv6/icmp.c iif = icmp6_iif(skb); iif 486 net/ipv6/icmp.c iif = l3mdev_master_ifindex(dst ? dst->dev : skb->dev); iif 527 net/ipv6/icmp.c fl6.flowi6_oif = iif; iif 160 net/ipv6/ip6_input.c IP6CB(skb)->iif = skb_valid_dst(skb) ? ip6_dst_idev(skb_dst(skb))->dev->ifindex : dev->ifindex; iif 501 net/ipv6/ip6_output.c if (IP6CB(skb)->iif == dst->dev->ifindex && iif 2200 net/ipv6/ip6mr.c dev = dev_get_by_index_rcu(net, IPCB(skb)->iif); iif 110 net/ipv6/mip6.c int iif; iif 177 net/ipv6/mip6.c const struct in6_addr *src, int iif) iif 183 net/ipv6/mip6.c mip6_report_rl.iif != iif || iif 187 net/ipv6/mip6.c mip6_report_rl.iif = iif; iif 223 net/ipv6/mip6.c opt->iif)) iif 1595 net/ipv6/ndisc.c dev = __dev_get_by_index(dev_net(skb->dev), IPCB(skb)->iif); iif 150 net/ipv6/netfilter/nf_conntrack_reasm.c const struct ipv6hdr *hdr, int iif) iif 157 net/ipv6/netfilter/nf_conntrack_reasm.c .iif = iif, iif 267 net/ipv6/netfilter/nf_conntrack_reasm.c fq->iif = dev->ifindex; iif 82 net/ipv6/reassembly.c fq_find(struct net *net, __be32 id, const struct ipv6hdr *hdr, int iif) iif 89 net/ipv6/reassembly.c .iif = iif, iif 95 net/ipv6/reassembly.c key.iif = 0; iif 192 net/ipv6/reassembly.c fq->iif = dev->ifindex; iif 325 net/ipv6/reassembly.c int iif; iif 354 net/ipv6/reassembly.c iif = skb->dev ? skb->dev->ifindex : 0; iif 355 net/ipv6/reassembly.c fq = fq_find(net, fhdr->identification, hdr, iif); iif 362 net/ipv6/reassembly.c fq->iif = iif; iif 108 net/ipv6/route.c int iif, int type, u32 portid, u32 seq, iif 4371 net/ipv6/route.c idev = __in6_dev_get_safely(dev_get_by_index_rcu(net, IP6CB(skb)->iif)); iif 5399 net/ipv6/route.c int iif, int type, u32 portid, u32 seq, iif 5461 net/ipv6/route.c if (iif) { iif 5472 net/ipv6/route.c if (nla_put_u32(skb, RTA_IIF, iif)) iif 5801 net/ipv6/route.c int err, iif = 0, oif = 0; iif 5834 net/ipv6/route.c iif = nla_get_u32(tb[RTA_IIF]); iif 5846 net/ipv6/route.c fl6.flowi6_uid = iif ? INVALID_UID : current_uid(); iif 5862 net/ipv6/route.c if (iif) { iif 5868 net/ipv6/route.c dev = dev_get_by_index_rcu(net, iif); iif 5875 net/ipv6/route.c fl6.flowi6_iif = iif; iif 5917 net/ipv6/route.c iif, RTM_NEWROUTE, iif 5922 net/ipv6/route.c &fl6.saddr, iif, RTM_NEWROUTE, iif 54 net/ipv6/seg6_local.c int iif; iif 776 net/ipv6/seg6_local.c slwt->iif = nla_get_u32(attrs[SEG6_LOCAL_IIF]); iif 783 net/ipv6/seg6_local.c if (nla_put_u32(skb, SEG6_LOCAL_IIF, slwt->iif)) iif 791 net/ipv6/seg6_local.c if (a->iif != b->iif) iif 525 net/ipv6/sit.c sifindex = netif_is_l3_master(skb->dev) ? IPCB(skb)->iif : 0; iif 644 net/ipv6/sit.c sifindex = netif_is_l3_master(skb->dev) ? IPCB(skb)->iif : 0; iif 720 net/ipv6/sit.c sifindex = netif_is_l3_master(skb->dev) ? IPCB(skb)->iif : 0; iif 291 net/netfilter/nf_flow_table_ip.c IPCB(skb)->iif = skb->dev->ifindex; iif 521 net/netfilter/nf_flow_table_ip.c IP6CB(skb)->iif = skb->dev->ifindex; iif 165 net/sched/act_sample.c int iif; iif 177 net/sched/act_sample.c iif = skb->skb_iif; iif 180 net/sched/act_sample.c iif = skb->dev->ifindex; iif 189 net/sched/act_sample.c psample_sample_packet(psample_group, skb, size, iif, oif, iif 31 net/sched/cls_route.c int iif; iif 49 net/sched/cls_route.c int iif; iif 61 net/sched/cls_route.c static inline int route4_fastmap_hash(u32 id, int iif) iif 76 net/sched/cls_route.c route4_set_fastmap(struct route4_head *head, u32 id, int iif, iif 79 net/sched/cls_route.c int h = route4_fastmap_hash(id, iif); iif 84 net/sched/cls_route.c head->fastmap[h].iif = iif; iif 99 net/sched/cls_route.c static inline int route4_hash_iif(int iif) iif 101 net/sched/cls_route.c return 16 + ((iif >> 16) & 0xF); iif 120 net/sched/cls_route.c route4_set_fastmap(head, id, iif, f); \ iif 132 net/sched/cls_route.c int iif, dont_cache = 0; iif 140 net/sched/cls_route.c iif = inet_iif(skb); iif 142 net/sched/cls_route.c h = route4_fastmap_hash(id, iif); iif 146 net/sched/cls_route.c iif == head->fastmap[h].iif && iif 170 net/sched/cls_route.c for (f = rcu_dereference_bh(b->ht[route4_hash_iif(iif)]); iif 173 net/sched/cls_route.c if (f->iif == iif) iif 188 net/sched/cls_route.c route4_set_fastmap(head, id, iif, ROUTE4_FAILURE); iif 451 net/sched/cls_route.c f->iif = id; iif 503 net/sched/cls_route.c f->iif = fold->iif; iif 618 net/sched/cls_route.c nla_put_u32(skb, TCA_ROUTE4_IIF, f->iif)) iif 486 net/sctp/ipv6.c addr->v6.sin6_scope_id = ((struct inet6_skb_parm *)skb->cb)->iif; iif 535 net/sctp/ipv6.c __be16 port, int iif) iif 541 net/sctp/ipv6.c addr->v6.sin6_scope_id = iif; iif 784 net/sctp/ipv6.c return IP6CB(skb)->iif; iif 257 net/sctp/protocol.c __be16 port, int iif) iif 215 sound/soc/uniphier/aio-core.c regmap_write(r, A2IIFNMAPCTR0(sub->swm->iif.hw), iif 216 sound/soc/uniphier/aio-core.c MAPCTR0_EN | sub->swm->iif.map); iif 233 sound/soc/uniphier/aio-core.c regmap_write(r, A2IIFNMAPCTR0(sub->swm->iif.hw), iif 234 sound/soc/uniphier/aio-core.c MAPCTR0_EN | sub->swm->iif.map); iif 815 sound/soc/uniphier/aio-core.c regmap_write(r, PBINMXCTR(sub->swm->iif.map), iif 968 sound/soc/uniphier/aio-core.c regmap_write(r, PBINMXCTR(sub->swm->iif.map), iif 21 sound/soc/uniphier/aio-ld11.c .iif = { 5, 3, }, iif 34 sound/soc/uniphier/aio-ld11.c .iif = { 6, 4, }, iif 48 sound/soc/uniphier/aio-ld11.c .iif = { 7, 5, }, iif 62 sound/soc/uniphier/aio-ld11.c .iif = { 10, 6, }, iif 132 sound/soc/uniphier/aio-ld11.c .iif = { 1, 1, }, iif 147 sound/soc/uniphier/aio-ld11.c .iif = { 2, 2, }, iif 21 sound/soc/uniphier/aio-pxs2.c .iif = { 0, 0, }, iif 35 sound/soc/uniphier/aio-pxs2.c .iif = { 1, 1, }, iif 200 sound/soc/uniphier/aio.h struct uniphier_aio_selector iif;